-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Target net11.0 / .NET 11 #121853
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Target net11.0 / .NET 11 #121853
Conversation
|
Tagging subscribers to this area: @dotnet/runtime-infrastructure |
|
@ViktorHofer, does it depend on dotnet/dotnet#2271? |
|
Not necessarily but it would be better to get that in first. I included the branding update in this PR (see eng/Versions.props changes). |
Need this property: https://github.com/dotnet/runtime/blob/69310d88a431951addcc65ad093ea59528f80c48/Directory.Build.targets#L56C6-L56C30 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR updates the .NET runtime repository to target .NET 11.0, migrating from .NET 10.0. This is a major version bump that touches numerous configuration files, test infrastructure, documentation, build scripts, and package manifests across the repository.
Key changes:
- Updated version numbers from 10.0 to 11.0 and net10.0 to net11.0 throughout the codebase
- Updated compatibility suppressions and baselines to reference net11.0
- Modified workload manifests to add net10.0 as a previous version while making net11.0 current
- Updated test infrastructure and configuration files
- Modified documentation to reflect the new version
Reviewed changes
Copilot reviewed 111 out of 113 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| Directory.Build.props | Updated NetCoreAppCurrentVersion from 10.0 to 11.0, adjusted minimum and previous versions |
| eng/Versions.props | Updated major version to 11, revised package versioning scheme, added net10 package version references |
| eng/build.sh, eng/build.ps1 | Updated framework examples from net10.0 to net11.0 |
| eng/packaging.targets | Added package validation baseline framework exclusions for net8.0 and net9.0 |
| eng/pruning.targets | New file to use .NET 10 pruning data temporarily for .NET 11 |
| eng/intellisense.targets | Hardcoded to use net-10.0 intellisense package temporarily |
| eng/testing workload targets | Added net10 workload testing support, commented out net7 combinations |
| src/mono/nuget files | Added Microsoft.NET.Workload.Mono.Toolchain.net10.Manifest package and related localization |
| src/libraries compatibility files | Updated suppressions from net10.0 to net11.0 references |
| src/mono/wasm test projects | Updated target frameworks from net10.0 to net11.0 |
| src/mono/wasm templates | Updated template identities and framework choices from net10.0 to net11.0 |
| docs | Updated documentation examples and paths from net10.0 to net11.0 |
| Various test and build configs | Updated framework and version references throughout |
|
SDK/Blazor Templates tracking issue is dotnet/sdk#50295 |
|
I updated the Apple mobile jobs to run on the scouting queues to get a clean run. The default queues are not functional at the moment. They will be fixed in a separate PR. |
|
iOS mobile smoke tests passed.
tvOS is currently blocked by infrastructure issues that the engineering team is mitigating. I am reverting queue changes for now as they are in #122341. For escaping build analysis please use dotnet/dnceng#6440 |
|
Let's try to push this through today if the failures are reasonable and can be worked in a follow up. |
|
/ba-g only test failure is timeout Same test is passing on MacOS in other configurations. Merging. |
|
@DonnaChen888 once this flows to the dotnet/dotnet repo and we get a build, we should be able to update the global.json in dotnet/sdk and do the next two steps (update the templates to target 11 and update the SDK to target 11). |

Contributes to #118583
For reference, this was last year's PR for net10.0. #106599