Skip to content

Add net10.0 to SupportedNetFrameworks, drop net9.0 (EOL May 12 2026)#7976

Open
Rolling2405 wants to merge 1 commit intomicrosoft:mainfrom
Rolling2405:feat/net10-tfm
Open

Add net10.0 to SupportedNetFrameworks, drop net9.0 (EOL May 12 2026)#7976
Rolling2405 wants to merge 1 commit intomicrosoft:mainfrom
Rolling2405:feat/net10-tfm

Conversation

@Rolling2405
Copy link
Copy Markdown

Summary

Updates SupportedNetFrameworks in Directory.Build.props from
et8.0;net9.0 to
et8.0;net10.0.

.NET 9.0 STS reaches end-of-life on May 12, 2026. The repository has already been moving in this direction:

  • TargetFrameworks.cs in test infrastructure lists
    et10.0 as primary with
    et8.0 as secondary (no net9.0)
  • Previous commit removed net9.0 from test utilities entirely

This single-property change propagates
et10.0 automatically to all ~30 source and test projects that reference .

Changes

  • Directory.Build.props:
    et8.0;net9.0 →
    et8.0;net10.0

Note on closed PR #6762

That PR was opened in October 2025 when net10.0 was still pre-release. Now that net10.0 is GA and net9.0 is at EOL, the timing is right.

net9.0 STS reaches end-of-life on May 12, 2026. The repository has
already moved in this direction: TargetFrameworks.cs in the test
infrastructure lists net10.0 as primary with net8.0 as secondary,
and the test utilities no longer reference net9.0.

Update SupportedNetFrameworks from 'net8.0;net9.0' to 'net8.0;net10.0'
to align the shipped package TFMs with this trajectory. All source
and test projects using the \ property will
automatically pick up the net10.0 TFM.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 1, 2026 05:39
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repository’s shared target framework configuration to prefer .NET 10 over .NET 9, with accompanying Arcade/toolset dependency bumps.

Changes:

  • Update SupportedNetFrameworks from net8.0;net9.0 to net8.0;net10.0.
  • Bump Arcade SDK / toolset dependency versions (global.json + eng version files).
  • Add an eng/common note indicating the folder is Arcade-sourced.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
global.json Updates the pinned Arcade MSBuild SDK version.
eng/common/AGENTS.md Documents that eng/common is Arcade-owned and overwritten by automation.
eng/Versions.props Updates templating + MSTest/MTP version properties.
eng/Version.Details.xml Updates Arcade + MSTest/MTP dependency versions and SHAs.
Directory.Build.props Switches SupportedNetFrameworks to include net10.0 instead of net9.0.

Comment thread Directory.Build.props
Comment on lines 29 to +32
<ModernUwpMinimum>net9.0-windows10.0.17763.0</ModernUwpMinimum>
<WinUiMinimum>net8.0-windows10.0.18362.0</WinUiMinimum>

<SupportedNetFrameworks>net8.0;net9.0</SupportedNetFrameworks>
<SupportedNetFrameworks>net8.0;net10.0</SupportedNetFrameworks>
Copy link

Copilot AI May 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ModernUwpMinimum is still set to a net9.0-* TFM. Because several projects include $(ModernUwpMinimum) in their TargetFrameworks, this change will still build/pack a net9.0 target even though SupportedNetFrameworks dropped net9.0. If the intent is to fully drop net9.0, update ModernUwpMinimum accordingly (or adjust the PR title/description to clarify that net9.0 is still required for Modern UWP).

Copilot uses AI. Check for mistakes.
Comment thread global.json
Comment on lines 39 to 41
"msbuild-sdks": {
"Microsoft.DotNet.Arcade.Sdk": "11.0.0-beta.26229.1",
"Microsoft.DotNet.Arcade.Sdk": "11.0.0-beta.26230.2",
"MSBuild.Sdk.Extras": "3.0.44"
Copy link

Copilot AI May 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR description states this is a single-property change in Directory.Build.props, but this PR also updates Arcade SDK + toolset dependency versions (and adds eng/common/AGENTS.md). Please update the PR description (or split into separate PRs) so reviewers/CI owners can clearly see why the dependency bumps are included.

Copilot uses AI. Check for mistakes.
Comment thread Directory.Build.props
<WinUiMinimum>net8.0-windows10.0.18362.0</WinUiMinimum>

<SupportedNetFrameworks>net8.0;net9.0</SupportedNetFrameworks>
<SupportedNetFrameworks>net8.0;net10.0</SupportedNetFrameworks>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we should do that. It's completely fine to still keep net9.0, and there is no obvious need to add net10.0.

Users today can already target net10.0 and will be consuming our net9.0 artifacts without any problem.

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.

3 participants