From 80ca03ea6910aa1a278891683ef8b5521c5c33aa Mon Sep 17 00:00:00 2001 From: "Per Christian B. Viken" Date: Sat, 7 Mar 2026 19:52:05 +0100 Subject: [PATCH 1/5] refactor(all): Update dependencies --- CHANGELOG.md | 4 ++++ TypeContractor.Tests/TypeContractor.Tests.csproj | 8 ++++---- TypeContractor.Tool/TypeContractor.Tool.csproj | 2 +- TypeContractor/TypeContractor.csproj | 2 +- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d861d82..346b41b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [unreleased] +### Changed + +- Update dependencies + ## [0.18.0] - 2026-01-04 ### Fixed diff --git a/TypeContractor.Tests/TypeContractor.Tests.csproj b/TypeContractor.Tests/TypeContractor.Tests.csproj index 9ecac1c..5bf4a0a 100644 --- a/TypeContractor.Tests/TypeContractor.Tests.csproj +++ b/TypeContractor.Tests/TypeContractor.Tests.csproj @@ -19,14 +19,14 @@ - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/TypeContractor.Tool/TypeContractor.Tool.csproj b/TypeContractor.Tool/TypeContractor.Tool.csproj index dc06629..3d178a8 100644 --- a/TypeContractor.Tool/TypeContractor.Tool.csproj +++ b/TypeContractor.Tool/TypeContractor.Tool.csproj @@ -26,7 +26,7 @@ - + diff --git a/TypeContractor/TypeContractor.csproj b/TypeContractor/TypeContractor.csproj index 78a73cc..d6d8536 100644 --- a/TypeContractor/TypeContractor.csproj +++ b/TypeContractor/TypeContractor.csproj @@ -17,7 +17,7 @@ - + From 1e61ee2d1b0736801eb70f78b77c9370bffc1a41 Mon Sep 17 00:00:00 2001 From: "Per Christian B. Viken" Date: Sat, 7 Mar 2026 19:53:32 +0100 Subject: [PATCH 2/5] feat(all): Add support for .NET10 --- CHANGELOG.md | 4 ++++ TypeContractor.Example/TypeContractor.Example.csproj | 2 +- TypeContractor.Tests/TypeContractor.Tests.csproj | 4 ++-- TypeContractor.Tool/TypeContractor.Tool.csproj | 2 +- TypeContractor/TypeContractor.csproj | 2 +- 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 346b41b..c4f4ce6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [unreleased] +### Added + +- Support for .NET10 (#188) + ### Changed - Update dependencies diff --git a/TypeContractor.Example/TypeContractor.Example.csproj b/TypeContractor.Example/TypeContractor.Example.csproj index 3d569c1..1952942 100644 --- a/TypeContractor.Example/TypeContractor.Example.csproj +++ b/TypeContractor.Example/TypeContractor.Example.csproj @@ -2,7 +2,7 @@ Exe - net8.0;net9.0 + net8.0;net9.0;net10.0 enable enable diff --git a/TypeContractor.Tests/TypeContractor.Tests.csproj b/TypeContractor.Tests/TypeContractor.Tests.csproj index 5bf4a0a..4016dc2 100644 --- a/TypeContractor.Tests/TypeContractor.Tests.csproj +++ b/TypeContractor.Tests/TypeContractor.Tests.csproj @@ -1,7 +1,7 @@ - + - net8.0 + net10.0 enable enable false diff --git a/TypeContractor.Tool/TypeContractor.Tool.csproj b/TypeContractor.Tool/TypeContractor.Tool.csproj index 3d178a8..f4b9f21 100644 --- a/TypeContractor.Tool/TypeContractor.Tool.csproj +++ b/TypeContractor.Tool/TypeContractor.Tool.csproj @@ -2,7 +2,7 @@ Exe - net8.0;net9.0 + net8.0;net9.0;net10.0 enable enable diff --git a/TypeContractor/TypeContractor.csproj b/TypeContractor/TypeContractor.csproj index d6d8536..7187641 100644 --- a/TypeContractor/TypeContractor.csproj +++ b/TypeContractor/TypeContractor.csproj @@ -1,6 +1,6 @@  - net8.0 + net8.0;net9.0;net10.0 enable enable latest-recommended From d9fc2352d15b864b036552f60755a5ec98fb1a8c Mon Sep 17 00:00:00 2001 From: "Per Christian B. Viken" Date: Sat, 7 Mar 2026 19:53:49 +0100 Subject: [PATCH 3/5] feat(tool): Set .NET10 as the default we're looking for (#188) --- TypeContractor.Tool/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TypeContractor.Tool/Program.cs b/TypeContractor.Tool/Program.cs index 76a5694..99421f6 100644 --- a/TypeContractor.Tool/Program.cs +++ b/TypeContractor.Tool/Program.cs @@ -61,7 +61,7 @@ var dotnetVersionOptions = new Option("--dotnet-version") { - DefaultValueFactory = (arg) => config.GetNumberWithFallback("dotnet-version", 8), + DefaultValueFactory = (arg) => config.GetNumberWithFallback("dotnet-version", 10), Description = "Major version of dotnet to look for", }; From c888b97e47f3955bdcd9d8519301fb4537d06797 Mon Sep 17 00:00:00 2001 From: "Per Christian B. Viken" Date: Sat, 7 Mar 2026 19:54:14 +0100 Subject: [PATCH 4/5] chore(all): Add global.json --- TypeContractor.sln | 11 +++++++++-- global.json | 5 +++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 global.json diff --git a/TypeContractor.sln b/TypeContractor.sln index c40aa6a..c694e2a 100644 --- a/TypeContractor.sln +++ b/TypeContractor.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.31903.59 +# Visual Studio Version 18 +VisualStudioVersion = 18.3.11520.95 d18.3 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TypeContractor", "TypeContractor\TypeContractor.csproj", "{4BE2CCA2-1FC6-483E-9D29-7BFEADA192FC}" EndProject @@ -12,6 +12,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution .editorconfig = .editorconfig .gitignore = .gitignore CHANGELOG.md = CHANGELOG.md + global.json = global.json LICENSE = LICENSE NuGet.config = NuGet.config README.md = README.md @@ -32,6 +33,11 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tools", "tools", "{02EA681E tools\zod-errors.ts = tools\zod-errors.ts EndProjectSection EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "github", "github", "{35827A33-9B0F-4FBF-8F41-3FD027BD133B}" + ProjectSection(SolutionItems) = preProject + .github\dependabot.yml = .github\dependabot.yml + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -68,6 +74,7 @@ Global EndGlobalSection GlobalSection(NestedProjects) = preSolution {02EA681E-C7D8-13C7-8484-4AC65E1B71E8} = {70D3E515-AB31-4EDB-886A-23ECD377E3AE} + {35827A33-9B0F-4FBF-8F41-3FD027BD133B} = {70D3E515-AB31-4EDB-886A-23ECD377E3AE} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {BE873438-37D1-44EF-98BD-2A263351F7F2} diff --git a/global.json b/global.json new file mode 100644 index 0000000..058bafa --- /dev/null +++ b/global.json @@ -0,0 +1,5 @@ +{ + "sdk": { + "version": "10.0.103" + } +} From bf36350810a83c04a0cd34fa0418bd3625937709 Mon Sep 17 00:00:00 2001 From: "Per Christian B. Viken" Date: Sat, 7 Mar 2026 19:56:36 +0100 Subject: [PATCH 5/5] chore(pipelines): Install .net10 --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4a887ba..7d15a33 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,6 +40,7 @@ jobs: dotnet-version: | 8.0.x 9.0.x + 10.0.x - name: Display dotnet version run: dotnet --version