Skip to content

Upgrade to .NET 10.0 and Aspire 13.0.0#454

Draft
Copilot wants to merge 7 commits intomainfrom
copilot/update-aspire-13-dotnet-10
Draft

Upgrade to .NET 10.0 and Aspire 13.0.0#454
Copilot wants to merge 7 commits intomainfrom
copilot/update-aspire-13-dotnet-10

Conversation

Copy link
Contributor

Copilot AI commented Nov 23, 2025

Upgrade to .NET 10 and Aspire 13 - Core Package Updates ✅

All Previous Updates Complete ✅

  • .NET SDK: 9.0.100 → 10.0.100
  • Target Framework: net9.0 → net10.0 (113 projects)
  • Aspire packages: 9.5.1 → 13.0.0
  • GitHub workflows: 9.0.x → 10.0.x
  • Test packages to latest versions
  • Docker images updated
  • Documentation updated

New: Core Package Updates for .NET 10.0 ✅

Issue Resolved:

  • Fixed FileNotFoundException for Microsoft.Extensions.Logging.Abstractions Version=10.0.0.0
  • Updated all Microsoft.Extensions and System packages to match .NET 10.0 runtime

Package Updates:

  • Microsoft.Extensions.Logging.Abstractions: 8.0.2/9.0.7/9.0.10 → 10.0.0
  • Microsoft.Extensions.Http: 8.0.1/9.0.0 → 10.0.0
  • Microsoft.Extensions.DependencyInjection.Abstractions: 9.0.7 → 10.0.0
  • Microsoft.Extensions.Configuration.Abstractions: 8.0.0/9.0.10 → 10.0.0
  • Microsoft.Extensions.Logging: 9.0.7 → 10.0.0
  • Microsoft.Extensions.Hosting: 9.0.0 → 10.0.0
  • System.Text.Json: 8.0.5/9.0.7 → 10.0.0
  • System.IO.Abstractions: 21.0.29/22.0.16 → 22.1.0
  • System.IO.Abstractions.TestingHelpers: 21.0.29/22.0.16 → 22.1.0

Files Updated:

  • FlinkDotNet/Flink.JobBuilder/Flink.JobBuilder.csproj
  • FlinkDotNet/FlinkDotNet.Common/FlinkDotNet.Common.csproj
  • FlinkDotNet/FlinkDotNet.Common.Tests/FlinkDotNet.Common.Tests.csproj
  • FlinkDotNet/FlinkDotNet.DataStream/FlinkDotNet.DataStream.csproj
  • FlinkDotNet/FlinkDotNet.DataStream.Tests/FlinkDotNet.DataStream.Tests.csproj
  • FlinkDotNet/FlinkDotNet.JobGateway/FlinkDotNet.JobGateway.csproj
  • FlinkDotNet/FlinkDotNet.JobManager/FlinkDotNet.JobManager.csproj
  • FlinkDotNet/FlinkDotNet.TaskManager/FlinkDotNet.TaskManager.csproj

Summary

  • ✅ All core .NET packages now use version 10.0.0 to match .NET 10.0 runtime
  • ✅ Eliminates version mismatch issues causing FileNotFoundException
  • ✅ All System packages updated to latest compatible versions
  • 🔄 Ready for CI validation
Original prompt

Update to aspire 13 and dotnet 10 for everything and update all github workflows to make sure nothing break.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 3 commits November 23, 2025 12:09
Co-authored-by: devstress <30769729+devstress@users.noreply.github.com>
Co-authored-by: devstress <30769729+devstress@users.noreply.github.com>
Co-authored-by: devstress <30769729+devstress@users.noreply.github.com>
Copilot AI changed the title [WIP] Update to aspire 13 and dotnet 10 with workflow adjustments Upgrade to .NET 10.0 and Aspire 13.0.0 Nov 23, 2025
Copilot AI requested a review from devstress November 23, 2025 12:16
@devstress
Copy link
Owner

@copilot home/runner/work/FlinkDotnet/FlinkDotnet/ObservabilityTesting/ObservabilityTesting.IntegrationTests/ObservabilityTesting.IntegrationTests.csproj : error NU1605: Warning As Error: Detected package downgrade: Confluent.Kafka from 2.12.0 to 2.11.1. Reference the package directly from the project to select a different version. [/home/runner/work/FlinkDotnet/FlinkDotnet/ObservabilityTesting/ObservabilityTesting.sln]
Please update all packages to latest! No downgrade! Test in your local first everything working

Co-authored-by: devstress <30769729+devstress@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Nov 24, 2025

@copilot home/runner/work/FlinkDotnet/FlinkDotnet/ObservabilityTesting/ObservabilityTesting.IntegrationTests/ObservabilityTesting.IntegrationTests.csproj : error NU1605: Warning As Error: Detected pac...

Updated all packages to latest stable versions in commit 0231c1f:

  • Confluent.Kafka: 2.12.0 (all projects)
  • Microsoft.NET.Test.Sdk: 18.0.1 (all test projects)
  • NUnit: 4.4.0 (all NUnit projects)
  • NUnit3TestAdapter: 5.2.0 (all NUnit projects)

Package downgrade resolved - all 62 .csproj files now use latest versions with no downgrades.

@devstress
Copy link
Owner

@copilot multiple github actions still fail with: Error: #16 0.794 /usr/share/dotnet/sdk/9.0.308/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.TargetFrameworkInference.targets(166,5): error NETSDK1045: The current .NET SDK does not support targeting .NET 10.0. Either target .NET 9.0 or lower, or use a version of the .NET SDK that supports .NET 10.0. Download the .NET SDK from https://aka.ms/dotnet/download [/src/FlinkDotNet/Flink.JobBuilder/Flink.JobBuilder.csproj] [/home/runner/work/FlinkDotnet/FlinkDotnet/ObservabilityTesting/ObservabilityTesting.FlinkSqlAppHost/ObservabilityTesting.FlinkSqlAppHost.csproj]
Error: #16 0.795 /usr/share/dotnet/sdk/9.0.308/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.TargetFrameworkInference.targets(166,5): error NETSDK1045: The current .NET SDK does not support targeting .NET 10.0. Either target .NET 9.0 or lower, or use a version of the .NET SDK that supports .NET 10.0. Download the .NET SDK from https://aka.ms/dotnet/download [/src/FlinkDotNet/FlinkDotNet.Common/FlinkDotNet.Common.csproj] [/home/runner/work/FlinkDotnet/FlinkDotnet/ObservabilityTesting/ObservabilityTesting.FlinkSqlAppHost/ObservabilityTesting.FlinkSqlAppHost.csproj]
Error: #16 0.796 /usr/share/dotnet/sdk/9.0.308/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.TargetFrameworkInference.targets(166,5): error NETSDK1045: The current .NET SDK does not support targeting .NET 10.0. Either target .NET 9.0 or lower, or use a version of the .NET SDK that supports .NET 10.0. Download the .NET SDK from https://aka.ms/dotnet/download [/src/FlinkDotNet/FlinkDotNet.JobGateway/FlinkDotNet.JobGateway.csproj] [/home/runner/work/FlinkDotnet/FlinkDotnet/ObservabilityTesting/ObservabilityTesting.FlinkSqlAppHost/ObservabilityTesting.FlinkSqlAppHost.csproj]
EXEC : #16 error : process "/bin/sh -c dotnet restore "FlinkDotNet/FlinkDotNet.JobGateway/FlinkDotNet.JobGateway.csproj"" did not complete successfully: exit code: 1 [/home/runner/work/FlinkDotnet/FlinkDotnet/ObservabilityTesting/ObservabilityTesting.FlinkSqlAppHost/ObservabilityTesting.FlinkSqlAppHost.csproj]
Error: 0.794 /usr/share/dotnet/sdk/9.0.308/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.TargetFrameworkInference.targets(166,5): error NETSDK1045: The current .NET SDK does not support targeting .NET 10.0. Either target .NET 9.0 or lower, or use a version of the .NET SDK that supports .NET 10.0. Download the .NET SDK from https://aka.ms/dotnet/download [/src/FlinkDotNet/Flink.JobBuilder/Flink.JobBuilder.csproj] [/home/runner/work/FlinkDotnet/FlinkDotnet/ObservabilityTesting/ObservabilityTesting.FlinkSqlAppHost/ObservabilityTesting.FlinkSqlAppHost.csproj]
Error: 0.795 /usr/share/dotnet/sdk/9.0.308/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.TargetFrameworkInference.targets(166,5): error NETSDK1045: The current .NET SDK does not support targeting .NET 10.0. Either target .NET 9.0 or lower, or use a version of the .NET SDK that supports .NET 10.0. Download the .NET SDK from https://aka.ms/dotnet/download [/src/FlinkDotNet/FlinkDotNet.Common/FlinkDotNet.Common.csproj] [/home/runner/work/FlinkDotnet/FlinkDotnet/ObservabilityTesting/ObservabilityTesting.FlinkSqlAppHost/ObservabilityTesting.FlinkSqlAppHost.csproj]
Error: 0.796 /usr/share/dotnet/sdk/9.0.308/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.TargetFrameworkInference.targets(166,5): error NETSDK1045: The current .NET SDK does not support targeting .NET 10.0. Either target .NET 9.0 or lower, or use a version of the .NET SDK that supports .NET 10.0. Download the .NET SDK from https://aka.ms/dotnet/download [/src/FlinkDotNet/FlinkDotNet.JobGateway/FlinkDotNet.JobGateway.csproj] [/home/runner/work/FlinkDotnet/FlinkDotnet/ObservabilityTesting/ObservabilityTesting.FlinkSqlAppHost/ObservabilityTesting.FlinkSqlAppHost.csproj]

Co-authored-by: devstress <30769729+devstress@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Nov 24, 2025

@copilot multiple github actions still fail with: Error: #16 0.794 /usr/share/dotnet/sdk/9.0.308/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.TargetFrameworkInference.targets(166,5): error NETSDK1045:...

Updated Dockerfile to use .NET 10.0 base images in commit 0724af7:

  • mcr.microsoft.com/dotnet/aspnet:9.0mcr.microsoft.com/dotnet/aspnet:10.0
  • mcr.microsoft.com/dotnet/sdk:9.0mcr.microsoft.com/dotnet/sdk:10.0

The Docker build was using .NET 9.0 SDK images, causing NETSDK1045 errors when trying to build net10.0 projects. This should resolve the GitHub Actions failures.

@devstress
Copy link
Owner

@copilot few still fails. Please fix: Error: ise Output] [ERROR] Error submitting job: Could not load file or assembly 'Microsoft.Extensions.Logging.Abstractions, Version=10.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.
[Exercise Output] Stack trace: at FlinkDotNet.DataStream.StreamExecutionEnvironment..ctor
[Exercise Output] at FlinkDotNet.DataStream.StreamExecutionEnvironment.GetExecutionEnvironment(FlinkConfiguration configuration) in /home/runner/work/FlinkDotnet/FlinkDotnet/FlinkDotNet/FlinkDotNet.DataStream/StreamExecutionEnvironment.cs:line 355
[Exercise Output] at Exercise2_BackupAggregator.BaeldungNativeApi.CreateBackup() in /home/runner/work/FlinkDotnet/FlinkDotnet/LearningCourse/Day01-Kafka-Flink-Data-Pipeline/Exercise-Solutions/Exercise2-BackupAggregator/BaeldungNativeAPI.cs:line 99
[Exercise Output] at Exercise2_BackupAggregator.Program.SubmitBackupAggregationJob() in /home/runner/work/FlinkDotnet/FlinkDotnet/LearningCourse/Day01-Kafka-Flink-Data-Pipeline/Exercise-Solutions/Exercise2-BackupAggregator/Program.cs:line 174
[Exercise Output] [05:26:01 ERR] Error executing backup aggregation demo
[Exercise Output] System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Extensions.Logging.Abstractions, Version=10.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.
[Exercise Output] File name: 'Microsoft.Extensions.Logging.Abstractions, Version=10.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'
[Exercise Output] at FlinkDotNet.DataStream.StreamExecutionEnvironment..ctor in /home/runner/work/FlinkDotnet/FlinkDotnet/FlinkDotNet/FlinkDotNet.DataStream/StreamExecutionEnvironment.cs:line 45
[Exercise Output] at FlinkDotNet.DataStream.StreamExecutionEnvironment.GetExecutionEnvironment(FlinkConfiguration configuration) in /home/runner/work/FlinkDotnet/FlinkDotnet/FlinkDotNet/FlinkDotNet.DataStream/StreamExecutionEnvironment.cs:line 355
[Exercise Output] at Exercise2_BackupAggregator.BaeldungNativeApi.CreateBackup() in /home/runner/work/FlinkDotnet/FlinkDotnet/LearningCourse/Day01-Kafka-Flink-Data-Pipeline/Exercise-Solutions/Exercise2-BackupAggregator/BaeldungNativeAPI.cs:line 99
[Exercise Output] at Exercise2_BackupAggregator.Program.SubmitBackupAggregationJob() in /home/runner/work/FlinkDotnet/FlinkDotnet/LearningCourse/Day01-Kafka-Flink-Data-Pipeline/Exercise-Solutions/Exercise2-BackupAggregator/Program.cs:line 174
[Exercise Output] at Exercise2_BackupAggregator.Program.RunBackupAggregationDemo() in /home/runner/work/FlinkDotnet/FlinkDotnet/LearningCourse/Day01-Kafka-Flink-Data-Pipeline/Exercise-Solutions/Exercise2-BackupAggregator/Program.cs:line 111
[Exercise Output] at Exercise2_BackupAggregator.Program.RunBackupAggregationDemo() in /home/runner/work/FlinkDotnet/FlinkDotnet/LearningCourse/Day01-Kafka-Flink-Data-Pipeline/Exercise-Solutions/Exercise2-BackupAggregator/Program.cs:line 152
[Exercise Output] at Exercise2_BackupAggregator.Program.Main(String[] args) in /home/runner/work/FlinkDotnet/FlinkDotnet/LearningCourse/Day01-Kafka-Flink-Data-Pipeline/Exercise-Solutions/Exercise2-BackupAggregator/Program.cs:line 75

Co-authored-by: devstress <30769729+devstress@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Nov 24, 2025

@copilot few still fails. Please fix: Error: ise Output] [ERROR] Error submitting job: Could not load file or assembly 'Microsoft.Extensions.Logging.Abstractions, Version=10.0.0.0, Culture=neutral,...

Updated all Microsoft.Extensions and System packages to version 10.0.0 in commit 53f9884:

Core Package Updates:

  • Microsoft.Extensions.Logging.Abstractions: 10.0.0
  • Microsoft.Extensions.Http: 10.0.0
  • Microsoft.Extensions.DependencyInjection.Abstractions: 10.0.0
  • Microsoft.Extensions.Configuration.Abstractions: 10.0.0
  • Microsoft.Extensions.Logging: 10.0.0
  • Microsoft.Extensions.Hosting: 10.0.0
  • System.Text.Json: 10.0.0
  • System.IO.Abstractions: 22.1.0

The FileNotFoundException for Microsoft.Extensions.Logging.Abstractions Version=10.0.0.0 was caused by version mismatches. All FlinkDotNet core packages now use version 10.0.0 to match the .NET 10.0 runtime requirements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants