Skip to content

Build: update Windows App SDK 2.6.4, Win2D, WebView2, BuildTools, Toolkit Labs - #51645

Merged
Clint Rutkas (crutkas) merged 1 commit into
mainfrom
crutkas-nuget-upgrade-grouping
Nov 3, 2026
Merged

Clint Rutkas (crutkas) merged 1 commit into
mainfrom
crutkas-nuget-upgrade-grouping

Conversation

@crutkas

@crutkas Clint Rutkas (crutkas) commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

Summary of the Pull Request

Upgraded a bunch.

  • Windows App SDK family: 2.6.4.
  • Win2D: 1.4.0.
  • WebView2: 1.0.4314.35, including the two KeyboardManager files.
  • SDK.BuildTools: 10.0.26100.9169.
  • Toolkit Labs: latest build.
  • CmdPal template: BuildTools raised to Windows App SDK 2.6.4’s minimums.

What i did not have upgraded was CsWinRT as it is a larger upgrade as it has a new analyzer in it i guess. That will be a new PR.

PR Checklist

  • Closes: #xxx
  • Communication: I've discussed this with core contributors already. If the work hasn't been agreed, this work might be rejected
  • Tests: Added/updated and all pass
  • Localization: All end-user-facing strings can be localized
  • Dev docs: Added/updated
  • New binaries: Added on the required places
  • Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

AI-generated summary

Version-only change (6 files, no source code changes).

Package From To
Microsoft.WindowsAppSDK / .Foundation / .AI / .Runtime 2.2.0 / 2.1.0 / 2.2.3 / 2.2.0 2.6.4
Microsoft.Graphics.Win2D 1.3.2 1.4.0
Microsoft.Web.WebView2 (central + KeyboardManager packages.config/vcxproj) 1.0.4022.49 1.0.4314.35
Microsoft.Windows.SDK.BuildTools 10.0.26100.6901 10.0.26100.9169
CommunityToolkit.Labs MarkdownTextBlock / OpacityMaskView 0.1.260116-build.2514 / 0.1.251101-build.2372 0.1.261027-build.2704

CmdPal extension template: WindowsAppSDK 2.6.4, and SDK.BuildTools / BuildTools.MSIX raised to the WinAppSDK 2.6.4 minimums (10.0.26100.4654 / 1.7.251221100).

Notes for reviewers:

  • WinAppSDK 2.6.4 nuspec minimums (WebView2 >= 1.0.3719.77, BuildTools >= 10.0.26100.4654) are satisfied; restore produced no NU warnings with transitive pinning on.
  • WinAppSDK 2.6.4 projections still reference WinRT.Runtime 2.1.0.0, so CsWinRT stays at 2.2.0 with ref pack 10.0.26100.68-preview.
  • CsWinRT 2.3.1 is intentionally excluded. It requires Microsoft.Windows.SDK.NET.Ref 10.0.26100.87, which bundles a stricter CsWinRT AOT analyzer (CsWinRT1032/1033) and newer CA1416 annotations; that surfaced roughly 280 errors across ~15 projects and needs its own PR.
  • CommunityToolkit.WinUI.* is already at the latest stable (8.2.251219); only 8.3 previews are newer.
  • SDK.BuildTools stays on the 26100 line; moving to 28000 belongs with a TargetPlatformVersion/TFM bump.
  • New package versions were saved to the PowerToysPublicDependencies feed (authenticated pull-through) so anonymous PR CI can restore them.
  • Pre-existing, not changed here: the ARM64 WebView2 copy step in .pipelines/v2/templates/job-build-project.yml still points at Microsoft.Web.WebView2.1.0.2903.40.

Local validation (x64 Release):

  • tools\build\build.ps1 -Platform x64 -Configuration Release on PowerToys.slnx: 0 package-related errors. The only errors were LNK1181 in two fuzzing test projects because the local MSVC 14.51 install lacks libsancov.lib.
  • .pipelines/verifyPossibleAssetConflicts.ps1 (base and WinUI3Apps): pass.
  • .pipelines/verifyDepsJsonLibraryVersions.ps1: only System.Drawing.Common / SystemEvents / CodeDom / System.Private.Windows.* differ (10.0.11 vs 10.0.14), caused by the local .NET SDK 10.0.403 runtime vs the pinned 10.0.11; no WinAppSDK, WebView2, Win2D, or Toolkit collisions.
  • .pipelines/versionAndSignCheck.ps1 rules applied to the new WinAppSDK, Win2D, WebView2 binaries: no new version or signing exceptions needed.
  • Output contains Microsoft.WindowsAppRuntime.dll 2.6, Microsoft.Web.WebView2.Core.dll 1.0.4314.35, Microsoft.Graphics.Canvas.dll 1.4.0.
  • Launched PowerToys.RegistryPreview.exe from the build output: window created, no crash events.

Not yet run: ARM64 build, unit/UI test suites, manual passes on WebView2/Win2D consumers (Peek, CmdPal, Advanced Paste, Keyboard Manager editor, Markdown/Monaco previewers).

…ls, and Toolkit Labs

- Microsoft.WindowsAppSDK (+ Foundation, AI, Runtime) 2.2.0 -> 2.6.4
- Microsoft.Graphics.Win2D 1.3.2 -> 1.4.0
- Microsoft.Web.WebView2 1.0.4022.49 -> 1.0.4314.35 (central + KeyboardManager packages.config)
- Microsoft.Windows.SDK.BuildTools 10.0.26100.6901 -> 10.0.26100.9169
- CommunityToolkit.Labs MarkdownTextBlock / OpacityMaskView -> 0.1.261027-build.2704
- CmdPal extension template: WinAppSDK 2.6.4 and BuildTools/BuildTools.MSIX raised to the WinAppSDK 2.6.4 minimums

CsWinRT stays at 2.2.0; 2.3.1 (with SDK ref pack 10.0.26100.87) will follow separately because its bundled AOT analyzer requires code changes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot added Product-Command Palette Refers to the Command Palette utility Product-Keyboard Manager labels Oct 28, 2026
@crutkas
Clint Rutkas (crutkas) marked this pull request as ready for review October 28, 2026 05:26
@github-actions

Copy link
Copy Markdown

🧭 PR intake

Visual evidence: Not needed — The changed files do not indicate a visible UI change. No visual evidence is expected.

Recommendation

Link the issue this PR fixes using a closing keyword such as Closes #123.

✅ Ready for review

This PR passed the automated intake checks and is ready for maintainer review.

Automated PR intake; PowerToys maintainers make final decisions.

@zadjii-msft Mike Griese (zadjii-msft) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yknow USUALLY it's bad practice to update a bunch of dependencies all in one commit. typically we should do it one commit at a time, so that we can git bisect for possible regressions.

But I'm talking to a machine. I guess this is fine. Maybe add an svg of a pelican riding a bicycle to the commit message

@crutkas
Clint Rutkas (crutkas) merged commit bd745f4 into main Nov 3, 2026
15 of 16 checks passed
@crutkas
Clint Rutkas (crutkas) deleted the crutkas-nuget-upgrade-grouping branch November 3, 2026 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants