Repository navigation
fix(build): Bump WindowsSdkPackageVersion to 10.0.19041.87 for WinRT.Runtime 2.3.1 - #1656
Merged
Merged
Conversation
…Runtime 2.3.1 - Uno 7 dev builds (seen on 7.0.0-dev.1265) ship Uno.UI.Extras compiled against WinRT.Runtime 2.3.1 - The 10.0.19041.57 projection (also the .NET 10 SDK default) ships WinRT.Runtime 2.2.0, so Uno.Toolkit.WinUI fails on net10.0-windows10.0.19041 with CS1705 - When that TFM fails first, the net10.0-android builds of the dependent libraries lose their Uno.Toolkit.WinUI reference and cascade into CS0234/CS1503/CS1061/UXAML0001 errors - 10.0.19041.87 ships WinRT.Runtime 2.3.1.0 - Canary: https://dev.azure.com/uno-platform/1dd81cbd-cb35-41de-a570-b0df3571a196/_build/results?buildId=236145&view=results Co-Authored-By: Claude Opus 5.5 <[email protected]>
rajamatt
marked this pull request as ready for review
September 29, 2026 20:26
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://polite-field-01aa64f0f-1656.eastus2.azurestaticapps.net |
rajamatt
enabled auto-merge (squash)
September 29, 2026 20:41
Kunal22shah
approved these changes
Sep 30, 2026
Contributor
|
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. |
Merged
7 of 18 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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): N/A (canary break)
PR Type
What is the current behavior?
The
Uno Toolkit - Canarypipeline fails inPackages › Build_Packages(#236145). The canary bumpsUno.Sdk.Privatefrom7.0.0-dev.701to7.0.0-dev.1265, along withuno.themes9.0.0-dev.26 andUno.XamlMerge.Task1.34.0-dev.3.Root error, on
Uno.Toolkit.WinUIfornet10.0-windows10.0.19041:Directory.Build.propspinsWindowsSdkPackageVersionto10.0.19041.57, which is also the .NET 10 SDK default. That projection shipsWinRT.Runtime2.2.0.0.Uno.UI.Extrascompiled againstWinRT.Runtime2.3.1.mainis green only because it is still on7.0.0-dev.701.Card/Chip/TabBar… not inUno.Toolkit.UI), CS1503/CS1061 inShadowContainer.cs, UXAML0001utu:TabBar/utu:Divider, and CS0103mergedpages_*.Uno.Toolkit.WinUIfails before the dependents'net10.0-androidbuilds run, those builds compile without theUno.Toolkit.WinUIreference.mainhead, and only #235934 hit the Android errors, because the build order differed.What is the new behavior?
WindowsSdkPackageVersionis set to10.0.19041.87. I checked itslib/net9.0/WinRT.Runtime.dll: AssemblyVersion is2.3.1.0, versus2.2.0.0in.57. With it, the Windows TFM compiles against current Uno 7 dev builds, and the Android cascade goes away with it.Verification, run locally in a worktree. The
src/Uno.Toolkit-packages.slnfbuilds used the same msbuild arguments asstage-build-packages.yml(/r /m /v:m, Release,GeneratePackageOnBuild, prereleasePackageVersion), across all TFMs:mainas-is)Notes:
FileNotFoundException: Uno.UI.Toolkitthrown fromSkiaSharp.Views.Windows.GlobalStaticResources: SkiaSharp.Views.Uno.WinUI 4.151.1 still references the pre-rename assembly (uno#24010). That needs an upstream fix and is tracked separately.PR Checklist
Please check if your PR fulfills the following requirements:
net10.0-windows10.0.19041)Other information
net10.0-windows10.0.19041assemblies now referenceWinRT.Runtime2.3.1. Uno 7's ownUno.UI.Extrasalready requires that for consumers, so this doesn't raise the effective floor for Uno 7 apps..86also ships 2.3.1.0 (lib/net8.0). I chose.87(lib/net9.0, "for .NET 9 and later") to match the repo'snet10.0targets.🤖 Generated with Claude Code