Repository navigation
chore: Update Windows App SDK to 2.5.1 - #24980
Conversation
|
Claude finished @MartinZikmund's task in 1m 0s —— View job Claude's review of this PR
Verdict: ✅ Ship as-is — no inline findings. This is a clean, mechanical dependency bump (Windows App SDK 2.4.0 → 2.5.1) with no application logic in scope, so most of the review checklist (SOLID, async/cancellation, DependencyProperty wiring, events, allocations) doesn't apply — nothing in the diff touches behavioral C# code. Checks performed:
Nothing further required from CI other than the Windows heads validation the author already deferred to CI. |
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The Graphics2DSK package does not apply the updated Windows dependency or Windows assembly to net11 consumers.
Review effort: Balanced
Findings: 1
Open (1)
What changed in this PR
Updates Windows App SDK to stable 2.5.1 and synchronizes related packaging, CI, documentation, tooling, and generated APIs.
Changes:
- Raises Windows App SDK package and runtime versions.
- Adds three
DirectXColorSpacevalues. - Updates migration and runtime-test guidance.
Review verdict: Changes required; one packaging bug found.
| File | Description |
|---|---|
src/Uno.WinRT/Generated/.../DirectXColorSpace.cs |
Adds generated enum values. |
src/Uno.Sdk/packages.json |
Updates the SDK default. |
src/ResourcesExtractor/ResourcesExtractor.csproj |
Updates the application dependency. |
src/Directory.Packages.props |
Updates the central package version. |
doc/articles/migrating-to-uno-7.md |
Documents the new default. |
build/nuget/Uno.WinUI.nuspec |
Updates Windows dependency floors. |
build/nuget/Uno.WinUI.Graphics2DSK.nuspec |
Updates the net10 Windows floor. |
build/ci/tests/.azure-devops-tests-winappsdk.yml |
Installs runtime 2.5.1 in CI. |
.claude/skills/winui-runtime-tests/SKILL.md |
Updates runtime-test guidance. |
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-24980/wasm-skia-net9/index.html |
b87eec8 to
f92a539
Compare
|
Claude finished @MartinZikmund's task in 17s —— View job Review of #24980
Verdict: fix-first (minor). The version bump is consistent and the generated stub looks right. 1 inline finding (minor).
|
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-24980/docs/index.html |
f92a539 to
180324c
Compare
|
Claude finished @MartinZikmund's task in 16s —— View job Status of the net11 Graphics2DSK packaging findingNo new changes pushed. The latest review finding is already addressed on the branch.
I did not build or pack anything. I have not confirmed that the net11 Windows output folder exists in the CI pack job. The Windows heads on 2.5.1 are still left to CI. Please check the NuGet pack step in CI to confirm. |
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-24980/docs/index.html |
morning4coffe-dev
left a comment
There was a problem hiding this comment.
Verified: the version bumps are consistent across Directory.Packages.props, Uno.Sdk packages.json, ResourcesExtractor.csproj, the Uno.WinUI and Graphics2DSK nuspecs, and the pinned runtime installer URL (2.5/2.5.1). The DirectXColorSpace delta matches the description: values 25-27 are added to the Microsoft.Graphics.DirectX stub under the same #if guard. I could not check the 2.5.1 metadata itself, because the local WinUI checkout does not contain these values.
Blocking: Tests - WinAppSDK Runtime Tests fails on this head (Azure build 238525, head 180324c). The app crashes after roughly 1,200 tests: UnhandledException LayoutCycleException "Failed to assign to property Microsoft.UI.Xaml.EventTrigger.RoutedEvent" (during When_ImageFailed). The process then exits with -1073741189 and no results file is written. The same job on current master (build 239011) passes with 6,569 results and 0 failures. That points at the 2.5.1 runtime rather than the test code. Please investigate and fix, or explain, before merge.
Notes (non-blocking):
- Uno.WinUI.Graphics2DSK.nuspec gains a net11.0-windows dependency group and a lib\net11.0-windows10.0.19041.0 file entry. The description does not mention this. Please add it to the description, or split it into its own change.
- The DirectXColorSpace additions appear only in the Microsoft.Graphics.DirectX stub; Windows.Graphics.DirectX is unchanged. Please confirm which namespace WinAppSDK 2.5.1 adds the values to.
180324c to
d308643
Compare
|
Claude finished @MartinZikmund's task in 21s —— View job Status check on #24980I couldn't see a specific request in the trigger, so I haven't changed any code. This is a status summary of what's open. Blocking item (from the 2026-10-12 review):
Non-blocking items:
GitHub CI right now: 1 run passed, 5 are in progress (including the If you want me to do something specific, such as pull the Azure logs if you can share them or draft the description update, reply with |
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-24980/wasm-skia-net9/index.html |
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-24980/docs/index.html |
|
This pull request is merged. |
d308643 to
03e1770
Compare
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
|
Claude finished @MartinZikmund's task in 16s —— View job Status check on #24980No specific request came with this trigger (a push to the branch), so I haven't changed any code. I didn't build or run anything. New since the last review: commit
Still open from earlier reviews:
To have me do something specific, reply with |
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-24980/docs/index.html |
|
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: |
Moves every repo-internal head, the Uno.Sdk consumer default, the Uno.WinUI nuspec floors and the WinUI runtime tests CI installer from 2.4.0 to the latest stable 2.5.1 (WinUI sub-package 2.3.6 -> 2.3.9). The WebView2 and Windows SDK BuildTools floors are unchanged in 2.5.1. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01JZScrZMcBWPZ6XUJrDcmKd
WinAppSDK 2.5.1 adds three DirectXColorSpace values (RgbFullG10NoneP2020, RgbFullG22ExtNoneP709, RgbFullG22NoneP3); the rest of the surface is unchanged from 2.4.0. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01JZScrZMcBWPZ6XUJrDcmKd
A net11.0-windows consumer resolved the generic lib/net11.0 assembly and missed the Windows App SDK dependency. Mirror Uno.WinUI.nuspec: add the net11 Windows dependency group and pack the Windows build there. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01EfmAYBo8zgCxmbPSXpaFZA
Review feedback addressed 2026-10-09. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01NHPnucPE4WuxBEhL1RJG2T
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01B8S2V4oWcPoFr1a3mTzKHF
03e1770 to
ba1dd44
Compare
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
|
Claude finished @MartinZikmund's task in 12s —— View job Status check on #24980No specific request came with this trigger (a push to the branch), so I haven't changed any code. I didn't build or run anything. Still open from earlier reviews:
GitHub CI right now: 1 run passed, 5 are in progress (including To have me do something specific, reply with |
|
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: |
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-24980/docs/index.html |

GitHub Issue: closes #24979
PR Type:
🏗️ Build or CI related changes
What changed? 🚀
Moves Windows App SDK from 2.4.0 to the latest stable 2.5.1 (WinUI sub-package 2.3.6 → 2.3.9) and regenerates the sync generator API surface.
chore: Move Windows App SDK references to 2.5.1: updatesDirectory.Packages.props, theUno.SdkWinAppSdkdefault, theUno.WinUI/Graphics2DSKnuspec floors (kept in lockstep with the Uno.Sdk default so NU1605 can't happen), the pinned Windows App Runtime installer in the WinUI runtime tests CI leg (aka.ms/windowsappsdk/2.5/2.5.1/..., which resolves),ResourcesExtractorand thewinui-runtime-testsskill table.chore: Regenerate WinAppSDK 2.5.1 API stubs: the only surface delta is three newDirectXColorSpacevalues (RgbFullG10NoneP2020,RgbFullG22ExtNoneP709,RgbFullG22NoneP3).2.5.1 keeps the same WebView2 (1.0.3719.77) and Windows SDK BuildTools (10.0.26100.4654) floors as 2.4.0, so nothing else needed to move.
Validation
build/ci/net11/_global.json, rc.1 SDK).references.txtconfirms the inputs were WinUI 2.3.9, Foundation 2.3.12 and InteractiveExperiences 2.1.9. The committed stub matches the generator output exactly, even after the pre-commit formatter ran.Uno.WinRT.Genericbuilds with 0 warnings and 0 errors.PR Checklist ✅
Screenshots Compare Test Runresults.The
Uno.WinUIpackage floor onMicrosoft.WindowsAppSDKgoes up from 2.4.0 to 2.5.1, so Windows heads on 2.4.0 will float up to 2.5.1 (same 2.x runtime major).🤖 Generated with Claude Code
https://claude.ai/code/session_01JZScrZMcBWPZ6XUJrDcmKd