Skip to content

Migrate to .NET 10 GA#3590

Merged
keegan-caruso merged 6 commits into
masterfrom
copilot/update-to-dotnet-10-ga
Nov 14, 2025
Merged

Migrate to .NET 10 GA#3590
keegan-caruso merged 6 commits into
masterfrom
copilot/update-to-dotnet-10-ga

Conversation

Copilot AI commented Nov 11, 2025

Copy link
Copy Markdown
Contributor

Updates the repository to use .NET 10 GA (10.0.100) released Nov 11, 2025. Removes all preview/RC configurations and promotes net10.0 to production target framework.

Configuration Changes

  • global.json: SDK 10.0.100, allowPrerelease: false, rollForward: latestFeature
  • Directory.Build.props:
    • Promote net10.0 to main TargetFrameworks (no longer conditional)
    • Update all package versions from RC (10.0.0-rc.1.25451.107) to GA (10.0.0)
    • Remove preview suppressions (SuppressNETCoreSdkPreviewMessage, NU5104, CheckEolTargetFramework)

Workflow Updates

  • GitHub Actions (dotnetcore.yml, aot-check.yml, codeql-analysis.yml):

    • Set TargetNetNext: 'False'
    • Update to actions/setup-dotnet@v5 with dotnet-version: 10.0.x
    • Remove conditionals and continue-on-error from .NET 10 steps
  • Azure Pipelines (template-install-dependencies.yaml):

    • Remove explicit .NET 10 RC install task (now uses global.json)

Package Versions

All .NET 10 runtime packages now use exact GA versions:

  • NetTenRuntimeVersion: 10.0.0
  • AspNetCoreTenRuntimeVersion: 10.0.0
  • All Microsoft.Extensions.* and System.* packages: 10.0.0
Original prompt

This section details on the original issue you should resolve

<issue_title>[Feature Request] Update to .NET 10 GA</issue_title>
<issue_description>This should be done after Nov 11 when .NET 10 GA is released.

.NET 10 can be downloaded from here.

To-do:

  • Verify and update to make sure build files reference and install the .NET 10 GA. Update the global.json to reference .NET 10.0.100.
  • If global.json doesn't exist add it. Use https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/blob/dev/global.json as a reference.
  • In global.json, set allowPrerelease to false; rollForward to latestFeature.
  • Remove specific .NET 10 install tasks in YAML.
  • Promote net10 TFM from TargetNetNext TargetFrameworks element to the GA TargetNetNext in projects.
  • The element that specified target frameworks with a TargetNetNext condition should be empty.
  • Update any package dependencies to reference .NET 10 with an exact version (no wildcard package versions).
  • Resolve any new analyzer warnings and errors.
  • Confirm net10 binaries are created when testing locally or in the build pipeline.
  • Confirm all tests pass, including .NET 10 ones.
  • Check .NET 10 breaking changes for breaking changes in .NET 10 since the latest version that we use and update the code accordingly.
  • Remove any appropriate warnings (like NU5104) and elements like SuppressNETCoreSdkPreviewMessage and CheckEolTargetFramework since we shouldn't be referencing any preview packages now.
  • Update actions/checkout and actions/setup-dotnet to v5.
  • Set TargetNetNext variable to false by default.

See #3449 as a reference for what changes were done to enable .NET 10 preview version and see if anything else that needs to be done that wasn't mentioned above.</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ 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 changed the title [WIP] Update project to .NET 10 GA after release Migrate to .NET 10 GA Nov 11, 2025
Copilot AI requested a review from pmaytak November 11, 2025 21:52
@keegan-caruso keegan-caruso force-pushed the copilot/update-to-dotnet-10-ga branch from 5f35b75 to 4ecd587 Compare November 14, 2025 00:12
@keegan-caruso keegan-caruso marked this pull request as ready for review November 14, 2025 00:27
@keegan-caruso keegan-caruso requested a review from a team as a code owner November 14, 2025 00:27
Comment thread Directory.Build.props
@keegan-caruso keegan-caruso self-assigned this Nov 14, 2025
Comment thread Directory.Build.props
Comment thread Directory.Build.props
Comment thread Directory.Build.props
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.

[Feature Request] Update to .NET 10 GA

5 participants