From 2e588c386703a8849f0a3877f4879598ca6b7683 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 18 Feb 2026 15:44:13 +0000 Subject: [PATCH 1/5] Initial plan From 95a5bf71fdd4f5c692be34e5328906487d47d8ff Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 18 Feb 2026 15:57:15 +0000 Subject: [PATCH 2/5] Remove obsolete PackageValidation SDK references from project files Co-authored-by: bartelink <206668+bartelink@users.noreply.github.com> --- dotnet-tools.json | 13 +++++++++++++ src/FsCodec.Box/FsCodec.Box.fsproj | 2 -- .../FsCodec.NewtonsoftJson.fsproj | 1 - .../FsCodec.SystemTextJson.fsproj | 2 -- src/FsCodec/FsCodec.fsproj | 2 -- 5 files changed, 13 insertions(+), 7 deletions(-) create mode 100644 dotnet-tools.json diff --git a/dotnet-tools.json b/dotnet-tools.json new file mode 100644 index 0000000..a16d60c --- /dev/null +++ b/dotnet-tools.json @@ -0,0 +1,13 @@ +{ + "version": 1, + "isRoot": true, + "tools": { + "ilspycmd": { + "version": "9.1.0.7988", + "commands": [ + "ilspycmd" + ], + "rollForward": false + } + } +} \ No newline at end of file diff --git a/src/FsCodec.Box/FsCodec.Box.fsproj b/src/FsCodec.Box/FsCodec.Box.fsproj index 98ff31c..c6b2a5a 100644 --- a/src/FsCodec.Box/FsCodec.Box.fsproj +++ b/src/FsCodec.Box/FsCodec.Box.fsproj @@ -1,7 +1,5 @@  - - netstandard2.1 3.0.0 diff --git a/src/FsCodec.NewtonsoftJson/FsCodec.NewtonsoftJson.fsproj b/src/FsCodec.NewtonsoftJson/FsCodec.NewtonsoftJson.fsproj index 1f14e70..a42fb47 100644 --- a/src/FsCodec.NewtonsoftJson/FsCodec.NewtonsoftJson.fsproj +++ b/src/FsCodec.NewtonsoftJson/FsCodec.NewtonsoftJson.fsproj @@ -1,6 +1,5 @@  - netstandard2.1 3.0.0 diff --git a/src/FsCodec.SystemTextJson/FsCodec.SystemTextJson.fsproj b/src/FsCodec.SystemTextJson/FsCodec.SystemTextJson.fsproj index 1314d2f..1896a58 100644 --- a/src/FsCodec.SystemTextJson/FsCodec.SystemTextJson.fsproj +++ b/src/FsCodec.SystemTextJson/FsCodec.SystemTextJson.fsproj @@ -1,7 +1,5 @@  - - netstandard2.1 3.0.0 diff --git a/src/FsCodec/FsCodec.fsproj b/src/FsCodec/FsCodec.fsproj index e33f725..43dfe50 100644 --- a/src/FsCodec/FsCodec.fsproj +++ b/src/FsCodec/FsCodec.fsproj @@ -1,7 +1,5 @@  - - netstandard2.1 From e4d4670be0f67847025deee0c6ed4e1661b6c848 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 18 Feb 2026 16:06:53 +0000 Subject: [PATCH 3/5] Add EnablePackageValidation property to enable built-in package validation Co-authored-by: bartelink <206668+bartelink@users.noreply.github.com> --- src/FsCodec.Box/FsCodec.Box.fsproj | 1 + src/FsCodec.NewtonsoftJson/FsCodec.NewtonsoftJson.fsproj | 1 + src/FsCodec.SystemTextJson/FsCodec.SystemTextJson.fsproj | 1 + src/FsCodec/FsCodec.fsproj | 1 + 4 files changed, 4 insertions(+) diff --git a/src/FsCodec.Box/FsCodec.Box.fsproj b/src/FsCodec.Box/FsCodec.Box.fsproj index c6b2a5a..35574e5 100644 --- a/src/FsCodec.Box/FsCodec.Box.fsproj +++ b/src/FsCodec.Box/FsCodec.Box.fsproj @@ -2,6 +2,7 @@ netstandard2.1 + true 3.0.0 diff --git a/src/FsCodec.NewtonsoftJson/FsCodec.NewtonsoftJson.fsproj b/src/FsCodec.NewtonsoftJson/FsCodec.NewtonsoftJson.fsproj index a42fb47..62aa490 100644 --- a/src/FsCodec.NewtonsoftJson/FsCodec.NewtonsoftJson.fsproj +++ b/src/FsCodec.NewtonsoftJson/FsCodec.NewtonsoftJson.fsproj @@ -2,6 +2,7 @@ netstandard2.1 + true 3.0.0 diff --git a/src/FsCodec.SystemTextJson/FsCodec.SystemTextJson.fsproj b/src/FsCodec.SystemTextJson/FsCodec.SystemTextJson.fsproj index 1896a58..0b9a24a 100644 --- a/src/FsCodec.SystemTextJson/FsCodec.SystemTextJson.fsproj +++ b/src/FsCodec.SystemTextJson/FsCodec.SystemTextJson.fsproj @@ -2,6 +2,7 @@ netstandard2.1 + true 3.0.0 diff --git a/src/FsCodec/FsCodec.fsproj b/src/FsCodec/FsCodec.fsproj index 43dfe50..f713037 100644 --- a/src/FsCodec/FsCodec.fsproj +++ b/src/FsCodec/FsCodec.fsproj @@ -4,6 +4,7 @@ netstandard2.1 PKV006 + true 3.0.0 From b1b06e094b68530440807198db016f6fba04db7b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 18 Feb 2026 16:34:07 +0000 Subject: [PATCH 4/5] Revert PackageValidation changes and downgrade tests to net9.0 - Reverted all PackageValidation SDK removal and EnablePackageValidation changes per @bartelink feedback - Changed test projects from net10.0 to net9.0 to attempt compatibility with TypeShape 10.0.0 - PackageValidation changes will be moved to separate PR - BadImageFormatException persists in net9.0, root cause is TypeShape 10.0.0 32-bit DLLs incompatible with x64 test runner Co-authored-by: bartelink <206668+bartelink@users.noreply.github.com> --- dotnet-tools.json | 13 ------------- src/FsCodec.Box/FsCodec.Box.fsproj | 3 ++- .../FsCodec.NewtonsoftJson.fsproj | 2 +- .../FsCodec.SystemTextJson.fsproj | 3 ++- src/FsCodec/FsCodec.fsproj | 3 ++- .../FsCodec.NewtonsoftJson.Tests.fsproj | 2 +- .../FsCodec.SystemTextJson.Tests.fsproj | 2 +- tests/FsCodec.Tests/FsCodec.Tests.fsproj | 2 +- 8 files changed, 10 insertions(+), 20 deletions(-) delete mode 100644 dotnet-tools.json diff --git a/dotnet-tools.json b/dotnet-tools.json deleted file mode 100644 index a16d60c..0000000 --- a/dotnet-tools.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "version": 1, - "isRoot": true, - "tools": { - "ilspycmd": { - "version": "9.1.0.7988", - "commands": [ - "ilspycmd" - ], - "rollForward": false - } - } -} \ No newline at end of file diff --git a/src/FsCodec.Box/FsCodec.Box.fsproj b/src/FsCodec.Box/FsCodec.Box.fsproj index 35574e5..98ff31c 100644 --- a/src/FsCodec.Box/FsCodec.Box.fsproj +++ b/src/FsCodec.Box/FsCodec.Box.fsproj @@ -1,8 +1,9 @@  + + netstandard2.1 - true 3.0.0 diff --git a/src/FsCodec.NewtonsoftJson/FsCodec.NewtonsoftJson.fsproj b/src/FsCodec.NewtonsoftJson/FsCodec.NewtonsoftJson.fsproj index 62aa490..1f14e70 100644 --- a/src/FsCodec.NewtonsoftJson/FsCodec.NewtonsoftJson.fsproj +++ b/src/FsCodec.NewtonsoftJson/FsCodec.NewtonsoftJson.fsproj @@ -1,8 +1,8 @@  + netstandard2.1 - true 3.0.0 diff --git a/src/FsCodec.SystemTextJson/FsCodec.SystemTextJson.fsproj b/src/FsCodec.SystemTextJson/FsCodec.SystemTextJson.fsproj index 0b9a24a..1314d2f 100644 --- a/src/FsCodec.SystemTextJson/FsCodec.SystemTextJson.fsproj +++ b/src/FsCodec.SystemTextJson/FsCodec.SystemTextJson.fsproj @@ -1,8 +1,9 @@  + + netstandard2.1 - true 3.0.0 diff --git a/src/FsCodec/FsCodec.fsproj b/src/FsCodec/FsCodec.fsproj index f713037..e33f725 100644 --- a/src/FsCodec/FsCodec.fsproj +++ b/src/FsCodec/FsCodec.fsproj @@ -1,10 +1,11 @@  + + netstandard2.1 PKV006 - true 3.0.0 diff --git a/tests/FsCodec.NewtonsoftJson.Tests/FsCodec.NewtonsoftJson.Tests.fsproj b/tests/FsCodec.NewtonsoftJson.Tests/FsCodec.NewtonsoftJson.Tests.fsproj index 5ee8649..5134925 100644 --- a/tests/FsCodec.NewtonsoftJson.Tests/FsCodec.NewtonsoftJson.Tests.fsproj +++ b/tests/FsCodec.NewtonsoftJson.Tests/FsCodec.NewtonsoftJson.Tests.fsproj @@ -1,7 +1,7 @@  - net10.0 + net9.0 Exe false diff --git a/tests/FsCodec.SystemTextJson.Tests/FsCodec.SystemTextJson.Tests.fsproj b/tests/FsCodec.SystemTextJson.Tests/FsCodec.SystemTextJson.Tests.fsproj index 2085eb7..b99439e 100644 --- a/tests/FsCodec.SystemTextJson.Tests/FsCodec.SystemTextJson.Tests.fsproj +++ b/tests/FsCodec.SystemTextJson.Tests/FsCodec.SystemTextJson.Tests.fsproj @@ -1,7 +1,7 @@  - net10.0 + net9.0 Exe false SYSTEM_TEXT_JSON diff --git a/tests/FsCodec.Tests/FsCodec.Tests.fsproj b/tests/FsCodec.Tests/FsCodec.Tests.fsproj index 8189963..977190a 100644 --- a/tests/FsCodec.Tests/FsCodec.Tests.fsproj +++ b/tests/FsCodec.Tests/FsCodec.Tests.fsproj @@ -1,7 +1,7 @@  - net10.0 + net9.0 Exe false From 3b142beafb41657767a2acb4beeb55695b48084f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 18 Feb 2026 17:04:18 +0000 Subject: [PATCH 5/5] Update FSharp.Core to 6.0.7 and SDK version to 10.0.102 - Updated all source projects to use FSharp.Core 6.0.7 instead of 4.5.4 - Updated global.json SDK version to match installed SDK (10.0.102) - Reverted test projects back to net10.0 per feedback - BadImageFormatException persists - not related to FSharp.Core version or 32-bit DLL issue - Need additional guidance on root cause Co-authored-by: bartelink <206668+bartelink@users.noreply.github.com> --- global.json | 2 +- src/FsCodec.Box/FsCodec.Box.fsproj | 4 +--- src/FsCodec.NewtonsoftJson/FsCodec.NewtonsoftJson.fsproj | 2 +- src/FsCodec.SystemTextJson/FsCodec.SystemTextJson.fsproj | 2 +- src/FsCodec/FsCodec.fsproj | 2 +- .../FsCodec.NewtonsoftJson.Tests.fsproj | 2 +- .../FsCodec.SystemTextJson.Tests.fsproj | 2 +- tests/FsCodec.Tests/FsCodec.Tests.fsproj | 2 +- 8 files changed, 8 insertions(+), 10 deletions(-) diff --git a/global.json b/global.json index dc46def..49eab44 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "10.0.100", + "version": "10.0.102", "rollForward": "latestMajor" }, "test": { diff --git a/src/FsCodec.Box/FsCodec.Box.fsproj b/src/FsCodec.Box/FsCodec.Box.fsproj index 98ff31c..84c9e05 100644 --- a/src/FsCodec.Box/FsCodec.Box.fsproj +++ b/src/FsCodec.Box/FsCodec.Box.fsproj @@ -1,7 +1,5 @@  - - netstandard2.1 3.0.0 @@ -17,7 +15,7 @@ - + diff --git a/src/FsCodec.NewtonsoftJson/FsCodec.NewtonsoftJson.fsproj b/src/FsCodec.NewtonsoftJson/FsCodec.NewtonsoftJson.fsproj index 1f14e70..5f882a2 100644 --- a/src/FsCodec.NewtonsoftJson/FsCodec.NewtonsoftJson.fsproj +++ b/src/FsCodec.NewtonsoftJson/FsCodec.NewtonsoftJson.fsproj @@ -21,7 +21,7 @@ - + diff --git a/src/FsCodec.SystemTextJson/FsCodec.SystemTextJson.fsproj b/src/FsCodec.SystemTextJson/FsCodec.SystemTextJson.fsproj index 1314d2f..9d66539 100644 --- a/src/FsCodec.SystemTextJson/FsCodec.SystemTextJson.fsproj +++ b/src/FsCodec.SystemTextJson/FsCodec.SystemTextJson.fsproj @@ -25,7 +25,7 @@ - + diff --git a/src/FsCodec/FsCodec.fsproj b/src/FsCodec/FsCodec.fsproj index e33f725..efca5b5 100644 --- a/src/FsCodec/FsCodec.fsproj +++ b/src/FsCodec/FsCodec.fsproj @@ -23,7 +23,7 @@ - + diff --git a/tests/FsCodec.NewtonsoftJson.Tests/FsCodec.NewtonsoftJson.Tests.fsproj b/tests/FsCodec.NewtonsoftJson.Tests/FsCodec.NewtonsoftJson.Tests.fsproj index 5134925..5ee8649 100644 --- a/tests/FsCodec.NewtonsoftJson.Tests/FsCodec.NewtonsoftJson.Tests.fsproj +++ b/tests/FsCodec.NewtonsoftJson.Tests/FsCodec.NewtonsoftJson.Tests.fsproj @@ -1,7 +1,7 @@  - net9.0 + net10.0 Exe false diff --git a/tests/FsCodec.SystemTextJson.Tests/FsCodec.SystemTextJson.Tests.fsproj b/tests/FsCodec.SystemTextJson.Tests/FsCodec.SystemTextJson.Tests.fsproj index b99439e..2085eb7 100644 --- a/tests/FsCodec.SystemTextJson.Tests/FsCodec.SystemTextJson.Tests.fsproj +++ b/tests/FsCodec.SystemTextJson.Tests/FsCodec.SystemTextJson.Tests.fsproj @@ -1,7 +1,7 @@  - net9.0 + net10.0 Exe false SYSTEM_TEXT_JSON diff --git a/tests/FsCodec.Tests/FsCodec.Tests.fsproj b/tests/FsCodec.Tests/FsCodec.Tests.fsproj index 977190a..8189963 100644 --- a/tests/FsCodec.Tests/FsCodec.Tests.fsproj +++ b/tests/FsCodec.Tests/FsCodec.Tests.fsproj @@ -1,7 +1,7 @@  - net9.0 + net10.0 Exe false