feat!: Drop UWP support and migrate to Uno.Sdk #1500
Draft
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.
GitHub Issue (If applicable): #1541
PR Type
What is the current behavior?
WinUI library projects use
MSBuild.Sdk.Extras/3.0.38and maintain separate UWP lineage projects (Uno.Toolkit.UI,Uno.Toolkit.UI.Material,Uno.Toolkit.UI.Cupertino) targetinguap10.0.19041, blocking access to modern C# language features.What is the new behavior?
All WinUI library projects migrated to
Uno.Sdk.Privatewith single-project structure. UWP projects and packages discontinued.Migration Changes
Removed UWP Projects:
Uno.Toolkit.UI.csprojUno.Toolkit.UI.Material.csprojUno.Toolkit.UI.Cupertino.csprojMigrated to Uno.Sdk.Private:
MSBuild.Sdk.Extrasfromglobal.json'$(IsAndroid)' == 'true')Solution Files Updated:
Uno.Toolkit.slnUno.Toolkit-packages.slnfsolution filterTarget Framework Updates:
net9.0-windows10.0.19041→net9.0-windows10.0.26100Documentation:
Breaking Changes
Discontinued Packages (use 6.x for UWP):
Uno.Toolkit.UIUno.Toolkit.UI.MaterialUno.Toolkit.UI.CupertinoMigration Path:
Replace with WinUI equivalents (namespace remains
Uno.Toolkit.UI):Uno.Toolkit.UI→Uno.Toolkit.WinUIUno.Toolkit.UI.Material→Uno.Toolkit.WinUI.MaterialUno.Toolkit.UI.Cupertino→Uno.Toolkit.WinUI.CupertinoPR Checklist
UWP(discontinued)Other information
Aligns with Uno.Extensions migration (#2437). Unblocks C# language features (nullable attributes, System.Index/Range) previously restricted by UWP.
Internal Issue (If applicable): N/A
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.