Skip to content

feat!: Replace net9.0 with net11.0 in templates and CI validation - #2281

Merged
MartinZikmund merged 3 commits into
mainfrom
feature/net9
Sep 29, 2026
Merged

MartinZikmund merged 3 commits into
mainfrom
feature/net9

Conversation

@MartinZikmund

@MartinZikmund MartinZikmund commented Sep 27, 2026 •

Copy link
Copy Markdown
Member

Fixes #2276
Fixes #2253
Fixes #1992

Uno 7.0 ships only net10.0/net11.0 assets, so -tfm net9.0 failed restore with NU1202. This swaps net9 for net11 across the templates and the CI matrix.

Templates

  • -tfm choices on unoapp, unolib, unolib-uitest, unomauilib are now net10.0 (default) and net11.0
  • singleProjectTfms regenerated with tools/TemplateTfmSwitchGenerator (runtimes now net10.0, net11.0)
  • net11 cases added to the other per-TFM switches; allowPrerelease is true for net11 (RC SDK), CI dotnet-version is 11.0.x
  • Wizard: Uno.Wasm.Bootstrap uses prerelease for net11 too. No tfm.net11.0 icon entry yet: uno.studio has no Framework.NET11.svg

Uno.Sdk.Updater

UnoWasmBootstrapVersionNet9 actually held the manifest's base version. It's replaced by UnoWasmBootstrapVersionNet11, and both Net10/Net11 now come from the manifest's versionOverride entries.

CI

Validation

  • Packed locally and generated apps in an isolated hive: -tfm net11.0 produces net11.0-* TFMs and allowPrerelease: true; -tfm net9.0 is rejected as an invalid choice
  • Matrix generator run locally: 20 groups, all net11 groups get --pre-major
  • Not yet verified: a real net11 restore/build (no .NET 11 SDK locally). This PR's CI covers it

🤖 Generated with Claude Code

https://claude.ai/code/session_01Ku9VqS7Jf4TTnjPGrRAVff

MartinZikmund and others added 2 commits September 28, 2026 17:40
BREAKING CHANGE: -tfm net9.0 is no longer accepted by unoapp, unolib,
unolib-uitest and unomauilib. The choices are now net10.0 (default) and
net11.0.

Uno 7.0 ships no net9.0 assets, so -tfm net9.0 failed restore with NU1202.

The Wasm Bootstrap pins now come from the manifest's net10.0/net11.0
overrides instead of the base version, which was mislabelled Net9.

Fixes #2253
Fixes #1992

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Ku9VqS7Jf4TTnjPGrRAVff
Adds a net11.0 group to the test matrix (uno-check --pre-major, .NET 11 RC1)
and drops the disabled net9 loop and its skips. The macOS job moves to
macos-26, the only image with the Xcode 26.5 the .NET 11 iOS workload needs.

Fixes #2276

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Ku9VqS7Jf4TTnjPGrRAVff
Graphics2DSK references Graphics3DGL without a package dependency
(unoplatform/uno#24699), and the .NET 11 iOS CoreTypeMap linker step
fails on the unresolved assembly with MT2390. CI builds now add the
reference to net11.0-ios heads until unoplatform/uno#24770 ships.

Refs #2283

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012LP9CJvBWmdHb4JUSTF6DN
@mergify

mergify Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

This pull request does not currently match the merge queue conditions, so it cannot be queued from here. The box comes back if it matches again.

@MartinZikmund
MartinZikmund merged commit 1438da7 into main Sep 29, 2026
76 checks passed
@MartinZikmund
MartinZikmund deleted the feature/net9 branch September 29, 2026 15:18
ajpinedam added a commit that referenced this pull request Oct 29, 2026
#2281 replaced net9.0 with net11.0 in the -tfm choices but left the
TemplateWizard.json metadata behind: it still described tfm.net9.0 and
had no tfm.net11.0 entry, so the wizard had no Sequence or Icon for the
net11.0 choice.

net10.0 moves to Sequence 1 and net11.0 takes Sequence 2, matching how
net9.0/net10.0 were ordered when net10.0 was added.

The icon is resolved from uno.studio's Studio.Shared/Assets, which does
not ship Framework.NET11.svg yet.
This was referenced Nov 16, 2026
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.

Uno 7.0: drop net9.0 from the templates and add net11.0 validation Remove net9.0 from the -tfm choices on the 7.0 line Support .NET 11

2 participants