Repository navigation
Update Windows App SDK compile dependency to 2.5.1 - #39440
Closed
mattleibow wants to merge 1 commit into
Closed
mattleibow wants to merge 1 commit into
mattleibow wants to merge 1 commit into
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: a8ef892d-cbcb-44f9-a088-7542b45c9a41
mattleibow
temporarily deployed
to
copilot-pat-pool
October 17, 2026 23:25 — with
GitHub Actions
Inactive
Contributor
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 39440Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 39440" |
mattleibow
temporarily deployed
to
copilot-pat-pool
October 17, 2026 23:25 — with
GitHub Actions
Inactive
|
Azure Pipelines: Successfully started running 1 pipeline(s). There may be pipelines that require an authorized user to comment /azp run to run. |
mattleibow
temporarily deployed
to
copilot-pat-pool
October 17, 2026 23:26 — with
GitHub Actions
Inactive
mattleibow
temporarily deployed
to
copilot-pat-pool
October 17, 2026 23:28 — with
GitHub Actions
Inactive
mattleibow
temporarily deployed
to
copilot-pat-pool
October 17, 2026 23:29 — with
GitHub Actions
Inactive
mattleibow
temporarily deployed
to
copilot-pat-pool
October 17, 2026 23:29 — with
GitHub Actions
Inactive
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
The major dependency upgrade still needs successful Windows compilation and runtime validation before human approval.
No open issues 🎉
What changed in this PR
Updates MAUI’s central Windows App SDK dependency from 1.8.260529003 to 2.5.1.
Changes:
- Updates the package pin used by Windows consumers.
- Leaves companion dependency pins and minimum Windows OS settings unchanged.
| File | Description |
|---|---|
| eng/Versions.props | Updates the Windows App SDK package version to 2.5.1. |
Review effort: Balanced
Member
Author
|
Closing this update following the corrected baseline decision: the intended baseline is MAUI 10's existing Windows App SDK 1.8 compile dependency, and SkiaSharp should match that baseline. No MAUI dependency update or net11.0 retargeting is needed. The feature branch is retained. |
kubaflo
added a commit
that referenced
this pull request
Oct 18, 2026
<!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- !!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING MAIN. !!!!!!! --> ### Description of Change <!-- Enter description of the fix in this section --> **Intentional branch exception: this PR targets `net11.0` only. It does not change `main` or MAUI 10.** Update only the central dependency pins in `eng/Versions.props`: - `MicrosoftWindowsAppSDKPackageVersion`: `2.3.1` → `2.5.1`. - `MicrosoftWindowsSDKBuildToolsPackageVersion`: `10.0.28000.2526` → `10.0.28000.2705`. - `MicrosoftWindowsSDKBuildToolsWinAppPackageVersion`: `0.5.0` → `0.7.1`. - `MicrosoftWindowsWebView2PackageVersion`: `1.0.4078.44` → `1.0.4258.31`. All four versions were confirmed as the latest stable entries in the official NuGet flat-container indexes on 2026-10-18. Win2D remains at the current stable `1.4.0`; CsWin32 and Windows SDK reference-pack overrides are unchanged. Supersedes #39440, which remains closed because it was based on `main`. This replacement starts directly from `net11.0` commit `f7147e3410c048631950556da69a1ab005b6d55f`, preserving clean net11 ancestry without rewriting or retargeting the old branch. Validation on macOS (installed .NET SDK `11.0.100-rc.1.26425.128`; repository's requested SDK is `11.0.100-rtm.26514.118`): - `dotnet msbuild src/Core/src/Core.csproj -p:TargetFramework=net11.0-windows10.0.19041.0 -p:EnableWindowsTargeting=true -getProperty:MicrosoftWindowsAppSDKPackageVersion,MicrosoftWindowsSDKBuildToolsPackageVersion -getItem:PackageReference` — **passed** for the initial Windows App SDK and BuildTools update; evaluated Windows PackageReference items use both requested versions. - `dotnet msbuild src/Core/src/Core.csproj -p:TargetFramework=net11.0-windows10.0.19041.0 -p:EnableWindowsTargeting=true -getProperty:MicrosoftWindowsSDKBuildToolsWinAppPackageVersion,MicrosoftWindowsWebView2PackageVersion -getItem:PackageReference` — **passed** for the follow-up WinApp and WebView2 update; evaluated Windows PackageReference items use `0.7.1` and `1.0.4258.31`. - `dotnet restore src/Core/src/Core.csproj -p:TargetFrameworks=net11.0-windows10.0.19041.0 -p:EnableWindowsTargeting=true --verbosity minimal` — **passed** on both updates for the Core/Essentials/Graphics/Graphics.Win2D graph. Restored assets confirm Windows App SDK `2.5.1`, Windows SDK BuildTools `10.0.28000.2705`, WinApp `0.7.1`, and WebView2 `1.0.4258.31` in Core; Essentials also resolves WebView2 `1.0.4258.31`. - `dotnet build src/Core/src/Core.csproj --no-restore -p:TargetFrameworks=net11.0-windows10.0.19041.0 -p:EnableWindowsTargeting=true --verbosity minimal` — **blocked by host platform** on the initial update: Graphics produced its managed assembly, then Windows resource generation failed with MSB6003 / `Exec format error` launching `MakePri.exe` on macOS. A complete native Windows build and runtime/UI validation were not performed; the native build was not repeated for the follow-up pins. - `dotnet format Microsoft.Maui.sln --no-restore --exclude Templates/src --exclude-diagnostics CA1822 --include eng/Versions.props --verbosity quiet` — **passed** on both updates, no further changes. - `git diff --check` — **passed** on both updates. ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> N/A — dependency update; supersedes #39440 rather than fixing a separately filed issue. <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
This branch was previously deployed
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.
Note
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!
Description of Change
Update the central
Microsoft.WindowsAppSDKcompile dependency for the current .NET 10 MAUI branch from1.8.260529003to2.5.1, the latest officially supported Stable/Current Windows App SDK release as of October 18, 2026 (downloads, release notes).This changes the Windows App SDK package used to compile MAUI and the dependency consumed by Windows applications. It does not change the .NET target or raise the app runtime OS minimum:
SupportedOSPlatformVersionandTargetPlatformMinVersionremain10.0.17763.0(Windows 10 version 1809). Windows App SDK 2 continues to support that OS baseline (supported Windows releases). Applications consuming the updated dependency will use the corresponding Windows App Runtime; this is not a claim that the Windows App Runtime version or behavior remains unchanged.The one-line central pin flows through
eng/NuGetVersions.targetsto the existing Windows consumers. No dependency-flow configuration changes are needed; this package group is maintained by Dependabot, and the existingVersion.Details.xmlplaceholder is unchanged.Checked coupled dependencies against the published NuGet manifests:
10.0.26100.8249: it already exceeds the10.0.26100.4654minimum required by Windows App SDK Base2.0.4.1.4.0: it is the latest available release, and its WinUI dependency resolves alongside Windows App SDK 2.5.1 to WinUI2.3.9without conflicts.1.0.4258.31: it already exceeds WinUI's1.0.3719.77minimum.Validation:
git diff --check— passed.dotnet format Microsoft.Maui.sln --no-restore --exclude Templates/src --exclude-diagnostics CA1822 --include eng/Versions.props --verbosity quiet— passed; no additional changes.dotnet msbuild src/Core/src/Core.csproj -p:EnableWindowsTargeting=true -p:TargetFramework=net10.0-windows10.0.19041.0 -getProperty:MicrosoftWindowsAppSDKPackageVersion,SupportedOSPlatformVersion,TargetPlatformMinVersion— passed; reports2.5.1,10.0.17763.0, and10.0.17763.0. The equivalent Graphics.Win2D evaluation also passed.dotnet restore src/Graphics/src/Graphics.Win2D/Graphics.Win2D.csproj --configfile <temporary-dotnet-public-NuGet.Config> -p:EnableWindowsTargeting=true -p:TargetFrameworks=net10.0-windows10.0.19041.0 -p:NuGetAudit=false --verbosity normal— passed with zero warnings/errors; the assets file resolves Windows App SDK2.5.1and WinUI2.3.9. Used a temporary public-feed-only NuGet configuration because direct api.nuget.org access failed; no repository feed changes.10.0.401project importing the repository'seng/Versions.propsandeng/NuGetVersions.targets, referencing Windows App SDK, BuildTools, Win2D, and WebView2:NUGET_CERT_REVOCATION_MODE=offline dotnet restore WindowsDependencyRestore.csproj --configfile NuGet.Config --packages ./packages --verbosity normal -p:WarningsAsErrors=NU1605— passed with zero warnings/errors using dotnet-public. Confirmed the resolved graph contains all four central pins and WinUI2.3.9.dotnet build WindowsDependencyRestore.csproj --no-restore --verbosity minimal— blocked on macOS: the Windows-onlyXamlCompiler.execannot execute. Windows compilation/runtime testing remains required on Windows.dotnet build ./Microsoft.Maui.BuildTasks.slnf --no-restore --verbosity minimal— failed because this clean worktree lacks restored prerequisite assets and .NET Framework 4.7.2 reference assemblies.dotnet build src/Graphics/src/Graphics.Win2D/Graphics.Win2D.csproj -f net10.0-windows10.0.19041.0 -p:EnableWindowsTargeting=true --no-restore --verbosity quietwas also blocked by the referenced Graphics project's missingnet10.0restore target under the Windows-only restore override. No full MAUI Windows build or runtime test is claimed.Issues Fixed
N/A — dependency maintenance requested by the maintainer; no linked issue.