Upgrade to .NET 11 (preview) - #2549
Draft
hahn-kev-bot wants to merge 3 commits into
Draft
Conversation
Long-lived branch to merge once .NET 11 releases; uses preview SDK builds for now. EF Core is intentionally left on 10.0.x (bumping it needs a coordinated Harmony release) — every other package rolls forward onto the net11 runtime unchanged, so no version bumps were needed. - Bump TFM net10.0 -> net11.0 (Directory.Build.props default, MAUI platform targets, WebServiceDefaults, Linq2Db patcher helper) - global.json -> 11.0.100-preview.7; CI setup-dotnet now reads global.json - Dockerfiles -> 11.0-preview base images (FwHeadless's net8 Chorus stage left as-is) - Reinforced.Typings ships no net11 tool: force its net10 rtcli and patch the tool's runtimeconfig to run on the SDK's bundled runtime. Env-var roll-forward can't work (MSBuild's ToolTask strips it); the patch is self-contained and version-agnostic. Remove once RT ships a net11 tool. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
The .NET 11 preview aspnet image is Ubuntu 26.04 (python 3.14); Chorus Mercurial 6.5 dies at import and clone looks like a missing .hg. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
.NET 11 Preview 7 should include CoreCLR for android, so this seemed like a great time to get this PR setup and building so we can test and catch any issues that show up.
AI summary
Long-lived branch to upgrade to .NET 11, intended to merge once .NET 11 releases (November). Uses preview SDK builds for now.
EF Core is intentionally left on 10.0.x — bumping it needs a coordinated Harmony release, which is out of scope. Every other package rolls forward onto the net11 runtime unchanged, so no package versions were bumped.
net10.0→net11.0:backend/Directory.Build.propsdefault (carries almost everything), MAUI platform targets,WebServiceDefaults, and the Linq2Db patcher helper.global.json→11.0.100-preview.7withrollForward: latestMinor. CIsetup-dotnetnow readsglobal.json(single source of truth) instead of10.x. The version is a floor: CI installs it exactly; locally rollForward uses the newest installed 11.x SDK.11.0-previewbase images (FwHeadless'snet8Chorus stage is deliberately unchanged). Revert-preview→11.0at RTM.rtclican't reflect over the net11 assembly. Env-var roll-forward doesn't work (MSBuild'sToolTaskstrips it), soFwLiteShared.csprojforces the net10 tool and patches the tool'sruntimeconfigto run on the SDK's bundled runtime. It's self-contained (no env vars anywhere) and version-agnostic (auto-tracks net11 → net12). Remove once RT ships a matching tool.Not validated locally (no workloads/Docker here — CI will exercise): the MAUI builds and Docker image builds. Watch whether the MAUI workload (
MauiVersion 10.0.60) needs a bump.🤖 Generated with Claude Code
Test plan
FwLiteCore.slnfandLexBoxOnly.slnfbuild clean under net11 (0 errors/warnings, no env vars)LcmCrdt.Testspass onnet11.0(~165 tests)