From 19cccd651c789df89222a278699c3cf7405fc36d Mon Sep 17 00:00:00 2001 From: David Pine Date: Thu, 21 Nov 2024 19:16:34 -0600 Subject: [PATCH] Bump to .NET 9.0 --- .github/workflows/build-validation.yml | 4 ++-- .github/workflows/publish-nuget.yml | 4 ++-- .github/workflows/publish-to-gh-pages.yml | 2 +- Directory.Build.props | 2 +- Directory.Packages.props | 18 +++++++++--------- .../Blazor.ExampleConsumer.csproj | 2 +- .../BlazorServer.ExampleConsumer.csproj | 2 +- ...Blazor.ExampleConsumer.EndToEndTests.csproj | 2 +- .../Blazor.SourceGenerators.Tests.csproj | 2 +- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/build-validation.yml b/.github/workflows/build-validation.yml index 27b8ace..dea485e 100644 --- a/.github/workflows/build-validation.yml +++ b/.github/workflows/build-validation.yml @@ -41,7 +41,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@main with: - dotnet-version: 8.0.x + dotnet-version: 9.0.x - name: Restore dependencies for ${{ matrix.project }} run: | @@ -62,7 +62,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@main with: - dotnet-version: 8.0.x + dotnet-version: 9.0.x - name: Run tests run: | diff --git a/.github/workflows/publish-nuget.yml b/.github/workflows/publish-nuget.yml index d5b414d..f23f64a 100644 --- a/.github/workflows/publish-nuget.yml +++ b/.github/workflows/publish-nuget.yml @@ -12,7 +12,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@main with: - dotnet-version: 8.0.x + dotnet-version: 9.0.x - name: Test run: dotnet test --filter "Category!=EndToEnd" --configuration Release @@ -65,7 +65,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@main with: - dotnet-version: 8.0.x + dotnet-version: 9.0.x - name: Restore dependencies for ${{ matrix.project }} run: | diff --git a/.github/workflows/publish-to-gh-pages.yml b/.github/workflows/publish-to-gh-pages.yml index cc9eaa3..f9c67a4 100644 --- a/.github/workflows/publish-to-gh-pages.yml +++ b/.github/workflows/publish-to-gh-pages.yml @@ -22,7 +22,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@main with: - dotnet-version: 8.0.x + dotnet-version: 9.0.x - name: Publish .NET Core Project run: dotnet publish samples/Blazor.ExampleConsumer/Blazor.ExampleConsumer.csproj -c Release -o release --nologo diff --git a/Directory.Build.props b/Directory.Build.props index ab82f05..1dc2fc9 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -12,7 +12,7 @@ - net7.0;net8.0 + net8.0;net9.0 preview diff --git a/Directory.Packages.props b/Directory.Packages.props index 54f53b5..298f5ba 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -17,15 +17,6 @@ - - - - - - - - - @@ -35,4 +26,13 @@ + + + + + + + + + \ No newline at end of file diff --git a/samples/Blazor.ExampleConsumer/Blazor.ExampleConsumer.csproj b/samples/Blazor.ExampleConsumer/Blazor.ExampleConsumer.csproj index 557a095..b476a44 100644 --- a/samples/Blazor.ExampleConsumer/Blazor.ExampleConsumer.csproj +++ b/samples/Blazor.ExampleConsumer/Blazor.ExampleConsumer.csproj @@ -1,7 +1,7 @@  - net8.0 + net9.0 enable enable diff --git a/samples/BlazorServer.ExampleConsumer/BlazorServer.ExampleConsumer.csproj b/samples/BlazorServer.ExampleConsumer/BlazorServer.ExampleConsumer.csproj index 138ed72..875e4ce 100644 --- a/samples/BlazorServer.ExampleConsumer/BlazorServer.ExampleConsumer.csproj +++ b/samples/BlazorServer.ExampleConsumer/BlazorServer.ExampleConsumer.csproj @@ -1,7 +1,7 @@  - net8.0 + net9.0 enable enable diff --git a/tests/Blazor.ExampleConsumer.EndToEndTests/Blazor.ExampleConsumer.EndToEndTests.csproj b/tests/Blazor.ExampleConsumer.EndToEndTests/Blazor.ExampleConsumer.EndToEndTests.csproj index 5e98431..4471b35 100644 --- a/tests/Blazor.ExampleConsumer.EndToEndTests/Blazor.ExampleConsumer.EndToEndTests.csproj +++ b/tests/Blazor.ExampleConsumer.EndToEndTests/Blazor.ExampleConsumer.EndToEndTests.csproj @@ -1,7 +1,7 @@  - net8.0 + net9.0 enable enable false diff --git a/tests/Blazor.SourceGenerators.Tests/Blazor.SourceGenerators.Tests.csproj b/tests/Blazor.SourceGenerators.Tests/Blazor.SourceGenerators.Tests.csproj index 15eda9c..a52842f 100644 --- a/tests/Blazor.SourceGenerators.Tests/Blazor.SourceGenerators.Tests.csproj +++ b/tests/Blazor.SourceGenerators.Tests/Blazor.SourceGenerators.Tests.csproj @@ -1,7 +1,7 @@  - net8.0 + net9.0 enable enable false