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..23ec851 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 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..126fb04 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 @@ -29,4 +30,13 @@ + + + embedded + true + false + true + true + + 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.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) diff --git a/src/AltaSoft.Choice/AltaSoft.Choice.csproj b/src/AltaSoft.Choice/AltaSoft.Choice.csproj index 1a5ff99..2f0ac4b 100644 Binary files a/src/AltaSoft.Choice/AltaSoft.Choice.csproj and b/src/AltaSoft.Choice/AltaSoft.Choice.csproj differ 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 6a13167..f8efe1c 100644 --- a/tests/AltaSoft.Choice.Generator.SnapshotTests/AltaSoft.Choice.Generator.SnapshotTests.csproj +++ b/tests/AltaSoft.Choice.Generator.SnapshotTests/AltaSoft.Choice.Generator.SnapshotTests.csproj @@ -1,49 +1,36 @@  - - 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 + + - - - - - - - + + + +