Repository navigation
docs: Remove or update WindowsSdkPackageVersion when migrating to Uno 7 - #26273
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.
|
Claude finished @agneszitte's task in 14s —— View job Review summaryVerdict: ship. This is a docs-only PR, and I found no blocking issues, so I posted no inline comments. Issues by severity: 0 blocking, 0 major, 0 minor. What I checked:
Cross-cutting notes, not blocking:
I did not run the docs build ( |
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-26273/docs/index.html |
|
@mergify backport release/stable/7.0 |
✅ Backports have been createdDetails
|
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.
|
Claude finished @agneszitte's task in 12s —— View job Review summaryVerdict: ship. This is a docs-only PR. I found nothing that blocks merge, so I posted no inline comments. Issues by severity: 0 blocking, 0 major, 1 minor. I re-reviewed the diff after the latest push ( Minor: The PR description says the error lookup gets both Backport: The Mergify |
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-26273/docs/index.html |
…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]>
|
Claude finished @agneszitte's task in 14s —— View job Review summaryVerdict: ship. This is a docs-only PR and nothing in it blocks merge. Issues by severity: 0 blocking, 0 major, 1 minor. The minor one is a punctuation nit, posted inline. I re-reviewed the full diff at the current head.
|
carldebilly
left a comment
There was a problem hiding this comment.
Approving: the guidance is right and well placed (section, checklist, lookup, notes on the pages that pin the property). A few suggestions below, each with text ready to apply.
Merge order: the section describes #26276's behavior (Directory.Build.targets, UseWindowsSDKPreview, an explicit .87 pin that builds). Until an Uno.Sdk with that fix ships, keeping a .87 pin still gives NETSDK1230. So merge this after #26276, and its 7.0 backport after #26277.
Two pages outside the diff with the same pin:
-
doc/articles/migrating-from-previous-releases.md, 5.4 section ("WinAppSDK 1.6 considerations"), which pins10.0.19041.38. Someone upgrading from 5.x straight to 7.0 copies it. Add this after the snippet:> [!NOTE] > When you migrate to Uno Platform 7.0, remove this property: the `Uno.Sdk` picks the Windows SDK projection, and `.38` can fail with `CS1705`. See [The Windows SDK projection is picked by the `Uno.Sdk`](xref:Uno.Development.MigratingToUno7.ProjectSetup#the-windows-sdk-projection-is-picked-by-the-unosdk).
-
doc/articles/migrating-to-uno-7.md, step 3. It already warns about a 1.xWinAppSdkVersionpin. Add a sentence after it, since this pin also breaks the Windows build:If you set `WindowsSdkPackageVersion`, [remove it or use a `.87` revision](xref:Uno.Development.MigratingToUno7.ProjectSetup#the-windows-sdk-projection-is-picked-by-the-unosdk), or the Windows build can fail with `CS1705`.
Both also apply to the 7.0 backport.
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-26273/docs/index.html |
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]>
|
Claude finished @agneszitte's task in 14s —— View job Review summaryVerdict: ship. This is a docs-only PR and nothing in it blocks merge. I posted no inline comments. Issues by severity: 0 blocking, 0 major, 1 minor. I re-reviewed the full diff at the current head. It now includes the changes from carldebilly's review:
Minor: the new section says to use the Cross-cutting:
|
|
Thanks, all applied in 97c8d66:
The 6.0 note and the checklist item now say the same thing (a |
|
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. |
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-26273/docs/index.html |
…7.0/pr-26273 docs: Remove or update WindowsSdkPackageVersion when migrating to Uno 7 (backport #26273)
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