Skip to content

Upgrade to .NET 11 (preview) - #2549

Draft
hahn-kev-bot wants to merge 3 commits into
developfrom
dotnet-11
Draft

Upgrade to .NET 11 (preview)#2549
hahn-kev-bot wants to merge 3 commits into
developfrom
dotnet-11

Conversation

@hahn-kev-bot

@hahn-kev-bot hahn-kev-bot commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

.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.

  • TFM net10.0net11.0: backend/Directory.Build.props default (carries almost everything), MAUI platform targets, WebServiceDefaults, and the Linq2Db patcher helper.
  • global.json11.0.100-preview.7 with rollForward: latestMinor. CI setup-dotnet now reads global.json (single source of truth) instead of 10.x. The version is a floor: CI installs it exactly; locally rollForward uses the newest installed 11.x SDK.
  • Dockerfiles → 11.0-preview base images (FwHeadless's net8 Chorus stage is deliberately unchanged). Revert -preview11.0 at RTM.
  • Reinforced.Typings workaround: RT 1.6.7 ships no net11 tool, and its net10 rtcli can't reflect over the net11 assembly. Env-var roll-forward doesn't work (MSBuild's ToolTask strips it), so FwLiteShared.csproj forces the net10 tool and patches the tool's runtimeconfig to 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.slnf and LexBoxOnly.slnf build clean under net11 (0 errors/warnings, no env vars)
  • LcmCrdt.Tests pass on net11.0 (~165 tests)
  • Reinforced.Typings regenerates committed TS types identically (no stale-types diff)
  • CI: FwLite MAUI build/test (Windows/macOS)
  • CI: Docker image builds (lexbox-api, fw-headless, fw-lite-web)

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>
@github-actions github-actions Bot added 💻 FW Lite issues related to the fw lite application, not miniLcm or crdt related 📦 Lexbox issues related to any server side code, fw-headless included labels Aug 13, 2026
@coderabbitai

coderabbitai Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 511c6f9c-3044-420a-b3e3-b2f936973bd3

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@argos-ci

argos-ci Bot commented Aug 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) ✅ No changes detected - Aug 13, 2026, 7:44 AM
e2e (Inspect) ✅ No changes detected - Aug 13, 2026, 7:51 AM

hahn-kev and others added 2 commits August 13, 2026 13:30
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

💻 FW Lite issues related to the fw lite application, not miniLcm or crdt related 📦 Lexbox issues related to any server side code, fw-headless included

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants