Upgrade Windows App SDK to 2.2.0 stable#48546
Conversation
Bumps the centrally-managed WinAppSDK package versions to match the 2.2.0 stable umbrella released on NuGet: * Microsoft.WindowsAppSDK 2.0.1 -> 2.2.0 * Microsoft.WindowsAppSDK.Foundation 2.0.20 -> 2.1.0 * Microsoft.WindowsAppSDK.AI 2.0.185 -> 2.2.3 * Microsoft.WindowsAppSDK.Runtime 2.0.1 -> 2.2.0 Versions for Foundation/AI/Runtime match the dependency graph declared by the Microsoft.WindowsAppSDK 2.2.0 nuspec, so transitive resolution is exact. Also updates the CmdPal ExtensionTemplate sample's local Directory.Packages.props to keep the template in sync. Verified with tools/build/build-essentials.cmd (restore + src/runner/runner.vcxproj + src/settings-ui/Settings.UI/PowerToys.Settings.csproj): 0 warnings, 0 errors. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@check-spelling-bot Report🔴 Please reviewSee the 📂 files view, the 📜action log, 👼 SARIF report, or 📝 job summary for details.
See ❌ Event descriptions for more information. Some files were automatically ignored 🙈These sample patterns would exclude them: You should consider adding them to: File matching is via Perl regular expressions. To check these files, more of their words need to be in the dictionary than not. You can use To update file exclusions, you could run the following commands... in a clone of the git@github.com:microsoft/PowerToys.git repository curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/cfb6f7e75bbfc89c71eaa30366d0c166f1bd9c8c/apply.pl' |
perl - 'https://github.com/microsoft/PowerToys/actions/runs/27419304683/attempts/1' &&
git commit -m 'Update check-spelling metadata'OR To have the bot accept them for you, comment in the PR quoting the following line: Forbidden patterns 🙅 (1)In order to address this, you could change the content to not match the forbidden patterns (comments before forbidden patterns may help explain why they're forbidden), add patterns for acceptable instances, or adjust the forbidden patterns themselves. These forbidden patterns matched content: Should be
|
There was a problem hiding this comment.
Pull request overview
This PR upgrades the repository’s centrally managed Windows App SDK NuGet package versions to the Windows App SDK 2.2.0 stable umbrella, and updates the CmdPal extension template’s local package versions to keep the sample in sync with the repo.
Changes:
- Bump
Microsoft.WindowsAppSDKfrom 2.0.1 → 2.2.0 in central package management. - Align pinned transitive WinAppSDK packages (
Foundation,AI,Runtime) to the dependency graph expected by WinAppSDK 2.2.0. - Update the CmdPal
ExtensionTemplatesample’sDirectory.Packages.propsto use WinAppSDK 2.2.0.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
Directory.Packages.props |
Updates centrally managed WinAppSDK package versions (including pinned transitive packages) to the 2.2.0 stable umbrella. |
src/modules/cmdpal/ExtensionTemplate/TemplateCmdPalExtension/Directory.Packages.props |
Updates the template’s WinAppSDK version to 2.2.0 to remain consistent with the main repo. |
Summary
Upgrades the centrally-managed Windows App SDK package versions to the 2.2.0 stable umbrella released on NuGet.
Microsoft.WindowsAppSDKMicrosoft.WindowsAppSDK.FoundationMicrosoft.WindowsAppSDK.AIMicrosoft.WindowsAppSDK.RuntimeFoundation/AI/Runtime versions match the dependency graph declared by
Microsoft.WindowsAppSDK2.2.0's own nuspec (Foundation=2.1.0,AI=2.2.3,Runtime=[2.2.0]), so transitive resolution is exact and no version-conflict warnings are introduced.Also bumps the CmdPal
ExtensionTemplatesample's localDirectory.Packages.propsso the template stays in sync with the main repo.Files changed
Directory.Packages.propssrc/modules/cmdpal/ExtensionTemplate/TemplateCmdPalExtension/Directory.Packages.propsValidation
Ran
tools/build/build-essentials.cmdon a cleanorigin/mainworktree:msbuild PowerToys.slnx /t:restore /p:RestorePackagesConfig=true— Build succeeded, 0 warnings, 0 errors (00:02:50)src/runner/runner.vcxproj(x64 Debug) — Build succeeded, 0 warnings, 0 errors (00:04:15)src/settings-ui/Settings.UI/PowerToys.Settings.csproj(x64 Debug) — Build succeeded, 0 warnings, 0 errors (00:03:14)Full module test suite has not been run yet — this PR only certifies the build-essentials baseline. CI will exercise the wider build/test matrix.
Notes