Move to .NET 10 (net10.0-windows, SDK 10.0.110) - #298
Open
Gordon Lam (yeelam-gordon) wants to merge 8 commits into
Open
Move to .NET 10 (net10.0-windows, SDK 10.0.110)#298Gordon Lam (yeelam-gordon) wants to merge 8 commits into
Gordon Lam (yeelam-gordon) wants to merge 8 commits into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Pins the repository’s build-time .NET SDK via a root global.json to reduce local/CI drift while keeping the target framework (net9.0-windows) unchanged.
Changes:
- Add root
global.jsonto select .NET SDK10.0.110. - Configure SDK resolution behavior via
rollForwardandallowPrerelease.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
….NET 9 SDK at or above the pinned floor
…m64 on the x64 runner
…K from global.json only, fail-fast off
Gordon Lam (yeelam-gordon)
requested a review
from Michael Jolley (michaeljolley)
August 14, 2026 03:24
Contributor
Author
|
/azp run |
…ion types for CsWinRT ABI projection on net10; remove CsWinRT warning suppressions
Contributor
Author
|
/azp run |
Michael Jolley (michaeljolley)
previously approved these changes
Aug 19, 2026
# Conflicts: # .github/workflows/CI.yml
Michael Jolley (michaeljolley)
approved these changes
Aug 20, 2026
Gordon Lam (yeelam-gordon)
removed the request for review
from Felipe G (guimafelipe)
August 20, 2026 22:57
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.
Summary
Moves the extension to .NET 10.
Changes
net9.0-windows→net10.0-windows10.0.26100.0(WindowsSdkPackageVersion→10.0.26100.87).global.json: pins the .NET SDK to10.0.110withrollForward: latestFeature— uses the newest installed .NET 10 SDK at or above that floor. CI installs it viaglobal-json-file.Microsoft.Data.Sqlite→10.0.10.NuGetAuditMode=direct(audit direct dependencies — same as the PowerToys CmdPal template).CsWinRT source-generator requirements on net10 (why the
partialedits are here)Upgrading the TFM to net10 also updates the CsWinRT toolchain. On net10, every class that implements a Command Palette WinRT interface (e.g.
InvokableCommand) must be declaredpartialso the generator can emit the ABI projection into a generated partial. Withoutpartial, CsWinRT raises CsWinRT1028, which fails theTreatWarningsAsErrorsbuild.The affected classes are therefore marked
partial— the sanctioned fix — rather than suppressing the diagnostic:SignInCommand,SignOutCommandThis is a net10-driven build requirement, not a behavior change — no runtime logic is altered by adding
partial.CI
windows-latest(VS 2026 / MSBuild 18, required by the .NET 10 SDK).windows-11-vs2026-arm(VS 2026).global.json.Both legs are green.