Skip to content

Add net11.0 alongside net10.0 - #47

Merged
newky2k merged 3 commits into
developmentfrom
feature/net11-migration
Nov 15, 2026
Merged

newky2k merged 3 commits into
developmentfrom
feature/net11-migration

Conversation

@newky2k

@newky2k newky2k commented Nov 14, 2026

Copy link
Copy Markdown
Owner

Adds net11.0 targets alongside net10.0.

  • Core, Ui and Hosting: netstandard2.0;net10.0;net11.0.
  • WPF: added net11.0-windows7.0 and net11.0-windows10.0.18362.0.
  • WinUI: added net11.0-windows10.0.19041.
  • MAUI: added net11.0, net11.0-android, net11.0-ios, net11.0-maccatalyst and net11.0-windows10.0.19041.0.
  • Packages: Microsoft.Extensions 11.0.0 and Microsoft.Maui.Controls 11.0.10 for net11.0 targets; 10.0.15 / 10.0.130 for the rest. Microsoft.Maui.Controls.Compatibility has no stable 11.x so it is net10.0-only. SourceLink 11.0.100.
  • MauiSample package pins aligned with the library (fixes NU1605).
  • ci.yml and release.yml install the 10.x and 11.x SDKs.

Verified: Linux Release build of core/Ui/Hosting/SourceGenerators (0 warnings, 0 errors); macOS build of the MAUI library on 8 TFMs and MauiSample on Android (iOS/Mac Catalyst need an Xcode-version override on that Mac); Windows build of WPF, WinUI, MAUI Windows and MVVMSample, all 0 errors. Not verified: building with both SDKs installed, and the workload restore step in ci.yml.

Move build and release to GitHub Actions, update packages
Add net11.0 to the core, UI, hosting, WPF, WinUI and MAUI libraries, use 11.x Microsoft.Extensions and MAUI packages for the net11.0 targets (10.0.15 / 10.0.130 for the others), move SourceLink to 11.0.100, and install the 10.x and 11.x SDKs in the CI and release workflows. Microsoft.Maui.Controls.Compatibility has no stable 11.x release so it is only referenced for the net10.0 targets.
The library now references 10.0.130 / 10.0.15 for net10.0 targets, so the sample's older pins caused NU1605 package downgrade errors.
@newky2k
newky2k merged commit 4cde30c into development Nov 15, 2026
1 check passed
@newky2k
newky2k deleted the feature/net11-migration branch November 20, 2026 00:20
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.

1 participant