Skip to content

Upgrade to .NET 11 (preview) - #2549

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

Upgrade to .NET 11 (preview)#2549
hahn-kev-bot wants to merge 5 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

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

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 - Sep 1, 2026, 4:38 AM
e2e (Inspect) ✅ No changes detected - Sep 1, 2026, 4:46 AM

hahn-kev and others added 4 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>
…op-conflicts-e270d1

# Conflicts:
#	backend/FwLite/FwLiteMaui/FwLiteMaui.csproj
#	backend/FwLite/FwLiteMaui/build/Linq2DbCctorPatcher/Linq2DbCctorPatcher.csproj
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