From a262ad946a1f4b4830b9a40b52baca98b5cfe824 Mon Sep 17 00:00:00 2001 From: Hal Spang Date: Mon, 7 Jul 2025 22:30:34 -0700 Subject: [PATCH] Move from net6 to net8 target Signed-off-by: Hal Spang --- .github/workflows/validate-build.yml | 8 +++---- Directory.Packages.props | 22 +++++++++---------- .../AzureFunctionsApp.csproj | 2 +- samples/ScheduleWebApp/ScheduleWebApp.csproj | 2 +- samples/WebAPI/WebAPI.csproj | 2 +- .../AzureManaged/Client.AzureManaged.csproj | 2 +- src/Client/Grpc/Client.Grpc.csproj | 2 +- src/Grpc/Grpc.csproj | 4 ++-- src/ScheduledTasks/ScheduledTasks.csproj | 2 +- .../AzureManaged/Worker.AzureManaged.csproj | 2 +- src/Worker/Grpc/Worker.Grpc.csproj | 2 +- .../Abstractions.Tests.csproj | 2 +- test/Analyzers.Tests/Analyzers.Tests.csproj | 2 +- test/Benchmarks/Benchmarks.csproj | 2 +- .../Client.AzureManaged.Tests.csproj | 2 +- test/Client/Core.Tests/Client.Tests.csproj | 2 +- .../Grpc.Tests/Client.Grpc.Tests.csproj | 2 +- ...rchestrationServiceClientShim.Tests.csproj | 2 +- test/Generators.Tests/Generators.Tests.csproj | 2 +- .../Grpc.IntegrationTests.csproj | 2 +- .../ScheduledTasks.Tests.csproj | 4 ++-- .../Shared.AzureManaged.Tests.csproj | 2 +- test/TestHelpers/TestHelpers.csproj | 2 +- .../Worker.AzureManaged.Tests.csproj | 2 +- test/Worker/Core.Tests/Worker.Tests.csproj | 2 +- .../Grpc.Tests/Worker.Grpc.Tests.csproj | 2 +- 26 files changed, 41 insertions(+), 41 deletions(-) diff --git a/.github/workflows/validate-build.yml b/.github/workflows/validate-build.yml index 497ceac7..39cff6f0 100644 --- a/.github/workflows/validate-build.yml +++ b/.github/workflows/validate-build.yml @@ -23,13 +23,13 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Setup .NET 6.0 - uses: actions/setup-dotnet@v3 + - name: Setup .NET 8.0 + uses: actions/setup-dotnet@v4 with: - dotnet-version: '6.0.x' + dotnet-version: '8.0.x' - name: Setup .NET from global.json - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: global-json-file: global.json diff --git a/Directory.Packages.props b/Directory.Packages.props index 9a87896a..d71af8b6 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -9,15 +9,15 @@ - - - + + + - - - - + + + + @@ -73,10 +73,10 @@ - - - - + + + + diff --git a/samples/AzureFunctionsApp/AzureFunctionsApp.csproj b/samples/AzureFunctionsApp/AzureFunctionsApp.csproj index 1e56f9fd..100aa1c7 100644 --- a/samples/AzureFunctionsApp/AzureFunctionsApp.csproj +++ b/samples/AzureFunctionsApp/AzureFunctionsApp.csproj @@ -1,7 +1,7 @@  - net6.0 + net8.0 v4 Exe enable diff --git a/samples/ScheduleWebApp/ScheduleWebApp.csproj b/samples/ScheduleWebApp/ScheduleWebApp.csproj index 8206fa42..b92b74e9 100644 --- a/samples/ScheduleWebApp/ScheduleWebApp.csproj +++ b/samples/ScheduleWebApp/ScheduleWebApp.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 enable enable true diff --git a/samples/WebAPI/WebAPI.csproj b/samples/WebAPI/WebAPI.csproj index 2ee98470..67cb5924 100644 --- a/samples/WebAPI/WebAPI.csproj +++ b/samples/WebAPI/WebAPI.csproj @@ -1,7 +1,7 @@  - net6.0 + net8.0 enable enable true diff --git a/src/Client/AzureManaged/Client.AzureManaged.csproj b/src/Client/AzureManaged/Client.AzureManaged.csproj index ae63b9a9..fbc75495 100644 --- a/src/Client/AzureManaged/Client.AzureManaged.csproj +++ b/src/Client/AzureManaged/Client.AzureManaged.csproj @@ -1,7 +1,7 @@  - net6.0 + net8.0 Azure Managed extensions for the Durable Task Framework client. true preview.1 diff --git a/src/Client/Grpc/Client.Grpc.csproj b/src/Client/Grpc/Client.Grpc.csproj index fe13b9df..3dc9a16f 100644 --- a/src/Client/Grpc/Client.Grpc.csproj +++ b/src/Client/Grpc/Client.Grpc.csproj @@ -1,7 +1,7 @@ - netstandard2.0;net6.0 + netstandard2.0;net8.0 The gRPC client for the Durable Task Framework. true diff --git a/src/Grpc/Grpc.csproj b/src/Grpc/Grpc.csproj index 4839af20..62c5d0d0 100644 --- a/src/Grpc/Grpc.csproj +++ b/src/Grpc/Grpc.csproj @@ -1,7 +1,7 @@  - netstandard2.0;net6.0 + netstandard2.0;net8.0 The gRPC Protobuf .NET services for Durable Task Framework. @@ -13,7 +13,7 @@ - + diff --git a/src/ScheduledTasks/ScheduledTasks.csproj b/src/ScheduledTasks/ScheduledTasks.csproj index a9951609..0625d7d2 100644 --- a/src/ScheduledTasks/ScheduledTasks.csproj +++ b/src/ScheduledTasks/ScheduledTasks.csproj @@ -1,7 +1,7 @@  - net6.0 + net8.0 Durable Task Scheduled Tasks Client true preview.1 diff --git a/src/Worker/AzureManaged/Worker.AzureManaged.csproj b/src/Worker/AzureManaged/Worker.AzureManaged.csproj index 4e7aefd6..431afe7d 100644 --- a/src/Worker/AzureManaged/Worker.AzureManaged.csproj +++ b/src/Worker/AzureManaged/Worker.AzureManaged.csproj @@ -1,7 +1,7 @@  - net6.0 + net8.0 Azure Managed extensions for the Durable Task Framework worker. true preview.1 diff --git a/src/Worker/Grpc/Worker.Grpc.csproj b/src/Worker/Grpc/Worker.Grpc.csproj index 991fef8f..c54e39b5 100644 --- a/src/Worker/Grpc/Worker.Grpc.csproj +++ b/src/Worker/Grpc/Worker.Grpc.csproj @@ -1,7 +1,7 @@ - netstandard2.0;net6.0 + netstandard2.0;net8.0 The gRPC worker for the Durable Task Framework. true diff --git a/test/Abstractions.Tests/Abstractions.Tests.csproj b/test/Abstractions.Tests/Abstractions.Tests.csproj index e4cf7da9..2d01e54d 100644 --- a/test/Abstractions.Tests/Abstractions.Tests.csproj +++ b/test/Abstractions.Tests/Abstractions.Tests.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 diff --git a/test/Analyzers.Tests/Analyzers.Tests.csproj b/test/Analyzers.Tests/Analyzers.Tests.csproj index a43fbdd0..b1117575 100644 --- a/test/Analyzers.Tests/Analyzers.Tests.csproj +++ b/test/Analyzers.Tests/Analyzers.Tests.csproj @@ -1,7 +1,7 @@  - net6.0 + net8.0 diff --git a/test/Benchmarks/Benchmarks.csproj b/test/Benchmarks/Benchmarks.csproj index 58504ddf..8647ccc2 100644 --- a/test/Benchmarks/Benchmarks.csproj +++ b/test/Benchmarks/Benchmarks.csproj @@ -1,7 +1,7 @@  - net6.0 + net8.0 Exe Benchmarks diff --git a/test/Client/AzureManaged.Tests/Client.AzureManaged.Tests.csproj b/test/Client/AzureManaged.Tests/Client.AzureManaged.Tests.csproj index 22142fa2..ec2dbd25 100644 --- a/test/Client/AzureManaged.Tests/Client.AzureManaged.Tests.csproj +++ b/test/Client/AzureManaged.Tests/Client.AzureManaged.Tests.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 diff --git a/test/Client/Core.Tests/Client.Tests.csproj b/test/Client/Core.Tests/Client.Tests.csproj index 29966adc..413c1244 100644 --- a/test/Client/Core.Tests/Client.Tests.csproj +++ b/test/Client/Core.Tests/Client.Tests.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 diff --git a/test/Client/Grpc.Tests/Client.Grpc.Tests.csproj b/test/Client/Grpc.Tests/Client.Grpc.Tests.csproj index 6d3dba79..ab59f7f4 100644 --- a/test/Client/Grpc.Tests/Client.Grpc.Tests.csproj +++ b/test/Client/Grpc.Tests/Client.Grpc.Tests.csproj @@ -1,7 +1,7 @@  - net6.0;net48 + net8.0;net48 diff --git a/test/Client/OrchestrationServiceClientShim.Tests/Client.OrchestrationServiceClientShim.Tests.csproj b/test/Client/OrchestrationServiceClientShim.Tests/Client.OrchestrationServiceClientShim.Tests.csproj index f24130cb..ec84beee 100644 --- a/test/Client/OrchestrationServiceClientShim.Tests/Client.OrchestrationServiceClientShim.Tests.csproj +++ b/test/Client/OrchestrationServiceClientShim.Tests/Client.OrchestrationServiceClientShim.Tests.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 diff --git a/test/Generators.Tests/Generators.Tests.csproj b/test/Generators.Tests/Generators.Tests.csproj index f805fecb..24382417 100644 --- a/test/Generators.Tests/Generators.Tests.csproj +++ b/test/Generators.Tests/Generators.Tests.csproj @@ -1,7 +1,7 @@  - net6.0 + net8.0 diff --git a/test/Grpc.IntegrationTests/Grpc.IntegrationTests.csproj b/test/Grpc.IntegrationTests/Grpc.IntegrationTests.csproj index e6b0aee7..3c9f765b 100644 --- a/test/Grpc.IntegrationTests/Grpc.IntegrationTests.csproj +++ b/test/Grpc.IntegrationTests/Grpc.IntegrationTests.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 diff --git a/test/ScheduledTasks.Tests/ScheduledTasks.Tests.csproj b/test/ScheduledTasks.Tests/ScheduledTasks.Tests.csproj index 33726a62..c10f2084 100644 --- a/test/ScheduledTasks.Tests/ScheduledTasks.Tests.csproj +++ b/test/ScheduledTasks.Tests/ScheduledTasks.Tests.csproj @@ -2,7 +2,7 @@ - net6.0 + net8.0 enable enable false @@ -18,4 +18,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/test/Shared/AzureManaged.Tests/Shared.AzureManaged.Tests.csproj b/test/Shared/AzureManaged.Tests/Shared.AzureManaged.Tests.csproj index f9822995..424359f9 100644 --- a/test/Shared/AzureManaged.Tests/Shared.AzureManaged.Tests.csproj +++ b/test/Shared/AzureManaged.Tests/Shared.AzureManaged.Tests.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 diff --git a/test/TestHelpers/TestHelpers.csproj b/test/TestHelpers/TestHelpers.csproj index 55514082..51cc3d8f 100644 --- a/test/TestHelpers/TestHelpers.csproj +++ b/test/TestHelpers/TestHelpers.csproj @@ -1,7 +1,7 @@  - net6.0;netstandard2.0 + net8.0;netstandard2.0 diff --git a/test/Worker/AzureManaged.Tests/Worker.AzureManaged.Tests.csproj b/test/Worker/AzureManaged.Tests/Worker.AzureManaged.Tests.csproj index 4a5a7cc1..91d07c5e 100644 --- a/test/Worker/AzureManaged.Tests/Worker.AzureManaged.Tests.csproj +++ b/test/Worker/AzureManaged.Tests/Worker.AzureManaged.Tests.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 diff --git a/test/Worker/Core.Tests/Worker.Tests.csproj b/test/Worker/Core.Tests/Worker.Tests.csproj index 736986d4..c97b649e 100644 --- a/test/Worker/Core.Tests/Worker.Tests.csproj +++ b/test/Worker/Core.Tests/Worker.Tests.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 diff --git a/test/Worker/Grpc.Tests/Worker.Grpc.Tests.csproj b/test/Worker/Grpc.Tests/Worker.Grpc.Tests.csproj index cda2aa55..6dd71a29 100644 --- a/test/Worker/Grpc.Tests/Worker.Grpc.Tests.csproj +++ b/test/Worker/Grpc.Tests/Worker.Grpc.Tests.csproj @@ -1,7 +1,7 @@ - net6.0;net48 + net8.0;net48