Skip to content

Upgrade from .NET 8 to .NET 10#437

Open
GennrichJ wants to merge 2 commits into
xt0rted:mainfrom
GennrichJ:user/jgennrich/upgrade-dotnet-10
Open

Upgrade from .NET 8 to .NET 10#437
GennrichJ wants to merge 2 commits into
xt0rted:mainfrom
GennrichJ:user/jgennrich/upgrade-dotnet-10

Conversation

@GennrichJ

Copy link
Copy Markdown

.NET 8 reaches end of support in November 2026. .NET 10 is the current LTS release.

Changes

  • global.json: SDK 8.0.413 → 10.0.300
  • Directory.Build.props: TargetFramework net8.0net10.0

All tests pass (123 passed, 1 skipped Unix-only test).

Jesse Gennrich added 2 commits May 20, 2026 10:49
.NET 8 reaches end of support in November 2026. .NET 10 is the current LTS release.

Changes:
- global.json: SDK 8.0.413 -> 10.0.300
- Directory.Build.props: TargetFramework net8.0 -> net10.0
@AnderssonPeter

AnderssonPeter commented Jul 6, 2026

Copy link
Copy Markdown

@GennrichJ @xt0rted Any news on this, we currently have to install 2 versions of .net in our pipelines.
One idea here might be to multi target .net 8, 9, 10 and 11 to not lock the user into a specific .net version?

@AnderssonPeter

Copy link
Copy Markdown

Replacing <TargetFramework>net8.0</TargetFramework> with <TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks> or <TargetFrameworks>net8.0;net9.0;net10.0;net11.0</TargetFrameworks> in Directory.Build.props should do the tick!

@GennrichJ

Copy link
Copy Markdown
Author

.NET 9 also goes out of support in 4 months, at the same time as .NET 8. That's why I skipped it in favor of the next LTS release (.NET 10), which is supported through November 2028.

Ref: https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core

That said, an additive approach (from 8 to 8, 9, 10) would still enable using a supported version after November without breaking those who haven't upgraded yet, which seems reasonable to me. Happy to adjust the PR if that's the direction @xt0rted would prefer to take.

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