Repository navigation
docs: Remove or update WindowsSdkPackageVersion when migrating to Uno 7 (backport #26273) - #26279
Merged
agneszitte merged 4 commits intoNov 10, 2026
Merged
Conversation
Uno.Sdk 7.0 sets WindowsSdkPackageMinimumRevision (#25836), so a project that still sets WindowsSdkPackageVersion fails with NETSDK1230 (#26174), and a .57 projection, as the 6.0 migration guide suggested, fails with CS1705. Documents it in the 7.0 migration guide (section, checklist, error lookup) and on the pages that set it. (cherry picked from commit e4bd0de)
With #26276 an explicit WindowsSdkPackageVersion wins over the Uno.Sdk default again, so NETSDK1230 no longer happens on a public 7.0 build. What still breaks is a projection older than .87 (the 6.0 guide's .57), which fails with CS1705: remove the property or raise it. (cherry picked from commit 6e15e6b)
…indows SDK section Matches #26276 after its review: the Uno.Sdk default also steps aside for UseWindowsSDKPreview, and a WindowsSdkPackageVersion set in a Directory.Build.targets file is respected too. Co-Authored-By: Claude Opus 5.5 <[email protected]> (cherry picked from commit ce4e07f)
Name which packages need the .87 projection and that the default is the Uno.Sdk's, use the target framework's own .87 build, cover the 1.x WinAppSdkVersion pin next to it, and point to the section from the 5.4 notes, the upgrade steps and the code search table. From Carl's review. Co-authored-by: Carl de Billy <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> (cherry picked from commit 97c8d66)
2 of 5 tasks
agneszitte
approved these changes
Nov 10, 2026
Contributor
Author
|
This pull request does not currently match the merge queue conditions, so it cannot be queued from here. The box comes back if it matches again. |
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.
GitHub Issue: related to #26174
PR Type:
📚 Documentation content changes
What changed? 🚀
Some Uno Platform 7.0 Windows packages, such as the Hot Design client that Debug builds reference, need the
.87Windows SDK projection (WinRT.Runtime 2.3). In aSdk="Uno.Sdk"project, theUno.Sdkselects it (WindowsSdkPackageMinimumRevision, #25836). With #26276 (the #26174 fix), a project's ownWindowsSdkPackageVersionwins again, soNETSDK1230no longer happens.What still breaks: a project that pins an older projection, such as the
10.0.19041.57the 6.0 migration guide suggested, can fail withCS1705. The docs now say to remove the property, or keep it at the.87revision of the target framework's own Windows SDK build:Uno.Sdk" section in Project setup, a sentence in upgrade step 3, a checklist item, aCS1705row in the error lookup and aWindowsSdkPackageVersionrow in "Search your code".WindowsSdkPackageVersionsnippets for 7.0.WinAppSdkVersionalso fails restore (NU1605).Docs only. Merge after #26276: until an Uno.Sdk with that fix ships, a
.87pin still givesNETSDK1230. The Mergify backport torelease/stable/7.0(files identical there) should merge after #26277.PR Checklist ✅
Screenshots Compare Test Runresults.🤖 Generated with Claude Code
This is an automatic backport of pull request #26273 done by [Mergify](https://mergify.com).