From 5861489a4cb7a92ffa50cf0821e14dbdee0f9857 Mon Sep 17 00:00:00 2001 From: Temo Nikolaishvili Date: Mon, 5 Jan 2026 14:42:57 +0400 Subject: [PATCH 1/5] Updated to dotnet 10 --- .../workflows/build_nuget_dont_publish.yml | 1 + .github/workflows/dotnet.yml | 1 + .github/workflows/publish_nuget.yml | 4 + AltaSoft.ChoiceGenerator.sln | 5 +- Directory.Build.props | 3 +- Directory.Packages.props | 18 ++++ .../AltaSoft.Choice.Generator.csproj | 6 +- src/AltaSoft.Choice/AltaSoft.Choice.csproj | Bin 506 -> 558 bytes ...Soft.Choice.Generator.SnapshotTests.csproj | 78 ++++++++---------- .../AltaSoft.ChoiceGenerator.Tests.csproj | 60 ++++++-------- 10 files changed, 89 insertions(+), 87 deletions(-) create mode 100644 Directory.Packages.props diff --git a/.github/workflows/build_nuget_dont_publish.yml b/.github/workflows/build_nuget_dont_publish.yml index a653442..5876aeb 100644 --- a/.github/workflows/build_nuget_dont_publish.yml +++ b/.github/workflows/build_nuget_dont_publish.yml @@ -14,6 +14,7 @@ jobs: uses: actions/setup-dotnet@v1 with: dotnet-version: | + 10.0.x 9.0.x 8.0.x diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index e46d307..30b5129 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -26,6 +26,7 @@ jobs: uses: actions/setup-dotnet@v3 with: dotnet-version: | + 10.0.x 9.0.x 8.0.x diff --git a/.github/workflows/publish_nuget.yml b/.github/workflows/publish_nuget.yml index 2ca3a56..42f38ef 100644 --- a/.github/workflows/publish_nuget.yml +++ b/.github/workflows/publish_nuget.yml @@ -15,6 +15,7 @@ jobs: uses: actions/setup-dotnet@v1 with: dotnet-version: | + 10.0.x 9.0.x 8.0.x @@ -32,3 +33,6 @@ jobs: - name: Publish run: dotnet nuget push "nupkg/*.nupkg" -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json + + - name: Publish Symbols + run: dotnet nuget push "nupkg/*.snupkg" -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json diff --git a/AltaSoft.ChoiceGenerator.sln b/AltaSoft.ChoiceGenerator.sln index 80d6421..768efa5 100644 --- a/AltaSoft.ChoiceGenerator.sln +++ b/AltaSoft.ChoiceGenerator.sln @@ -1,11 +1,12 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.31903.59 +# Visual Studio Version 18 +VisualStudioVersion = 18.1.11312.151 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{BF9447CC-2D00-495A-A8C3-D4890EADB01B}" ProjectSection(SolutionItems) = preProject Directory.Build.props = Directory.Build.props + Directory.Packages.props = Directory.Packages.props LICENSE.txt = LICENSE.txt README.md = README.md EndProjectSection diff --git a/Directory.Build.props b/Directory.Build.props index b7ffbb3..12a593c 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,5 +1,6 @@ + net8.0;net9.0;net10.0 Library enable Latest @@ -9,7 +10,7 @@ Choice generator ALTA Software llc. Copyright © 2024 ALTA Software llc. - 1.3.4 + 2.0.0 diff --git a/Directory.Packages.props b/Directory.Packages.props new file mode 100644 index 0000000..8ce6066 --- /dev/null +++ b/Directory.Packages.props @@ -0,0 +1,18 @@ + + + true + + + + + + + + + + + + + + + diff --git a/src/AltaSoft.Choice.Generator/AltaSoft.Choice.Generator.csproj b/src/AltaSoft.Choice.Generator/AltaSoft.Choice.Generator.csproj index f010c85..9e6aa88 100644 --- a/src/AltaSoft.Choice.Generator/AltaSoft.Choice.Generator.csproj +++ b/src/AltaSoft.Choice.Generator/AltaSoft.Choice.Generator.csproj @@ -17,8 +17,8 @@ - - + + @@ -26,4 +26,4 @@ - \ No newline at end of file + diff --git a/src/AltaSoft.Choice/AltaSoft.Choice.csproj b/src/AltaSoft.Choice/AltaSoft.Choice.csproj index 1a5ff99f58c26420f41f29e47592b780c5e694b1..2f0ac4b7d362b0da52a2246b9ebd95cdb1950d61 100644 GIT binary patch literal 558 zcma))%}T>i5QV?3g6~j@3*G1oXhGD93#HJ!Kb%7 delta 144 zcmZ3-@{2j-|34cBdxi>zT!tJ51%@()RE8pkVunnHe1<#*TLvWtLk2wt10bycl*waA z28yQuW%C%)!Lp?cB@Af{xTnrPL+$Q>{O)OB8%meBwVXy$3VGYy; c;#q=t6Hn?-{=%pRR5p1HqZ1?N - - net8.0 - enable - True - false - true - - 1591 - - - - - - - - - - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - - - - - - - - - + + net10.0 + enable + True + false + true + + 1591 + + + + + + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + + + + + + diff --git a/tests/AltaSoft.ChoiceGenerator.Tests/AltaSoft.ChoiceGenerator.Tests.csproj b/tests/AltaSoft.ChoiceGenerator.Tests/AltaSoft.ChoiceGenerator.Tests.csproj index 46e8b5d..7818764 100644 --- a/tests/AltaSoft.ChoiceGenerator.Tests/AltaSoft.ChoiceGenerator.Tests.csproj +++ b/tests/AltaSoft.ChoiceGenerator.Tests/AltaSoft.ChoiceGenerator.Tests.csproj @@ -1,45 +1,33 @@ - + - - net8.0 - enable - True - false - true + + net10.0 + enable + True + false + true - 1591 - - - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - + 1591 + - + + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + - - - - - - - + + + + From deb81be6e4bcef316b60c4fe0b2b48a7ad46234e Mon Sep 17 00:00:00 2001 From: Teimuraz Nikolaishvili <47372530+temonk@users.noreply.github.com> Date: Mon, 5 Jan 2026 14:55:34 +0400 Subject: [PATCH 2/5] Update tests/AltaSoft.Choice.Generator.SnapshotTests/AltaSoft.Choice.Generator.SnapshotTests.csproj Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .../AltaSoft.Choice.Generator.SnapshotTests.csproj | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/AltaSoft.Choice.Generator.SnapshotTests/AltaSoft.Choice.Generator.SnapshotTests.csproj b/tests/AltaSoft.Choice.Generator.SnapshotTests/AltaSoft.Choice.Generator.SnapshotTests.csproj index 0d2edc1..f8efe1c 100644 --- a/tests/AltaSoft.Choice.Generator.SnapshotTests/AltaSoft.Choice.Generator.SnapshotTests.csproj +++ b/tests/AltaSoft.Choice.Generator.SnapshotTests/AltaSoft.Choice.Generator.SnapshotTests.csproj @@ -31,7 +31,6 @@ - From 69aac3f3fb265a05145056abb67e2dda56539596 Mon Sep 17 00:00:00 2001 From: Teimuraz Nikolaishvili <47372530+temonk@users.noreply.github.com> Date: Mon, 5 Jan 2026 14:56:12 +0400 Subject: [PATCH 3/5] Update AltaSoft.ChoiceGenerator.sln Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- AltaSoft.ChoiceGenerator.sln | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AltaSoft.ChoiceGenerator.sln b/AltaSoft.ChoiceGenerator.sln index 768efa5..23ec851 100644 --- a/AltaSoft.ChoiceGenerator.sln +++ b/AltaSoft.ChoiceGenerator.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 18 -VisualStudioVersion = 18.1.11312.151 d18.0 +VisualStudioVersion = 18.1.11312.151 MinimumVisualStudioVersion = 10.0.40219.1 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{BF9447CC-2D00-495A-A8C3-D4890EADB01B}" ProjectSection(SolutionItems) = preProject From 9517ba2d39de7265aa56823a1a7a2c27644b9dd5 Mon Sep 17 00:00:00 2001 From: Temo Nikolaishvili Date: Mon, 5 Jan 2026 15:06:30 +0400 Subject: [PATCH 4/5] build.props update --- Directory.Build.props | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Directory.Build.props b/Directory.Build.props index 12a593c..126fb04 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -30,4 +30,13 @@ + + + embedded + true + false + true + true + + From ad78d1e2930a43c1d036d905945434df418a4386 Mon Sep 17 00:00:00 2001 From: Temo Nikolaishvili Date: Mon, 5 Jan 2026 15:16:36 +0400 Subject: [PATCH 5/5] mc --- src/AltaSoft.Choice.Generator/ChoiceGenerator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AltaSoft.Choice.Generator/ChoiceGenerator.cs b/src/AltaSoft.Choice.Generator/ChoiceGenerator.cs index 44fcf7e..0d05d6a 100644 --- a/src/AltaSoft.Choice.Generator/ChoiceGenerator.cs +++ b/src/AltaSoft.Choice.Generator/ChoiceGenerator.cs @@ -11,7 +11,7 @@ namespace AltaSoft.Choice.Generator; public sealed class ChoiceGenerator : IIncrementalGenerator { /// - /// Initializes the DomainPrimitiveGenerator and registers it as a source code generator. + /// Initializes the ChoiceGenerator and registers it as a source code generator. /// /// The generator initialization context. public void Initialize(IncrementalGeneratorInitializationContext context)