Skip to content

Upgrade Windows App SDK to 2.2.0 stable#48546

Open
yeelam-gordon wants to merge 1 commit into
mainfrom
user/yeelam/winappsdk-2.2.0
Open

Upgrade Windows App SDK to 2.2.0 stable#48546
yeelam-gordon wants to merge 1 commit into
mainfrom
user/yeelam/winappsdk-2.2.0

Conversation

@yeelam-gordon

Copy link
Copy Markdown
Contributor

Summary

Upgrades the centrally-managed Windows App SDK package versions to the 2.2.0 stable umbrella released on NuGet.

Package Before After
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

Foundation/AI/Runtime versions match the dependency graph declared by Microsoft.WindowsAppSDK 2.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 ExtensionTemplate sample's local Directory.Packages.props so the template stays in sync with the main repo.

Files changed

  • Directory.Packages.props
  • src/modules/cmdpal/ExtensionTemplate/TemplateCmdPalExtension/Directory.Packages.props

Validation

Ran tools/build/build-essentials.cmd on a clean origin/main worktree:

  • msbuild PowerToys.slnx /t:restore /p:RestorePackagesConfig=trueBuild 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

  • This is an atomic packaging-only change. No source code touched, no behavior changes.
  • If WinAppSDK 2.2.0 surfaces any runtime regression downstream, it can be reverted as a single commit.

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>
@github-actions

Copy link
Copy Markdown

@check-spelling-bot Report

🔴 Please review

See the 📂 files view, the 📜action log, 👼 SARIF report, or 📝 job summary for details.

❌ Errors and Warnings Count
⚠️ binary-file 1
⚠️ duplicate-pattern 2
❌ forbidden-pattern 1
⚠️ large-file 1

See ❌ Event descriptions for more information.

Some files were automatically ignored 🙈

These sample patterns would exclude them:

^src/modules/ZoomIt/ZoomIt/rnnoise/rnnoise_data_little\.c$
^src/modules/ZoomIt/ZoomIt/selfie_segmentation\.onnx$

You should consider adding them to:

.github/actions/spell-check/excludes.txt

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 patterns.txt to exclude portions, add items to the dictionary (e.g. by adding them to allow.txt), or fix typos.

To update file exclusions, you could run the following commands

... in a clone of the git@github.com:microsoft/PowerToys.git repository
on the user/yeelam/winappsdk-2.2.0 branch (ℹ️ how do I use this?):

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:
@check-spelling-bot apply updates.

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 a
\san (?=(?:[b-dfgjklpqtvwz]|h(?!onou?r|our|s[lv]|tml|ttp|ref)|n(?!ginx|grok|pm)|r(?!c)|s(?!s[ho]|vg))[a-z]|x(?!\b|[-\d]|ml))
If the flagged items are 🤯 false positives

If items relate to a ...

  • binary file (or some other file you wouldn't want to check at all).

    Please add a file path to the excludes.txt file matching the containing file.

    File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.

    ^ refers to the file's path from the root of the repository, so ^README\.md$ would exclude README.md (on whichever branch you're using).

  • well-formed pattern.

    If you can write a pattern that would match it,
    try adding it to the patterns.txt file.

    Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.

    Note that patterns can't match multiline strings.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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.WindowsAppSDK from 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 ExtensionTemplate sample’s Directory.Packages.props to 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants