Skip to content

docs: Remove or update WindowsSdkPackageVersion when migrating to Uno 7 - #26273

Merged
agneszitte merged 4 commits into
masterfrom
dev/agzi/docs-uno7-windowssdkpackageversion
Nov 10, 2026
Merged

agneszitte merged 4 commits into
masterfrom
dev/agzi/docs-uno7-windowssdkpackageversion

Conversation

@agneszitte

@agneszitte agneszitte commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

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 .87 Windows SDK projection (WinRT.Runtime 2.3). In a Sdk="Uno.Sdk" project, the Uno.Sdk selects it (WindowsSdkPackageMinimumRevision, #25836). With #26276 (the #26174 fix), a project's own WindowsSdkPackageVersion wins again, so NETSDK1230 no longer happens.

What still breaks: a project that pins an older projection, such as the 10.0.19041.57 the 6.0 migration guide suggested, can fail with CS1705. The docs now say to remove the property, or keep it at the .87 revision of the target framework's own Windows SDK build:

  • 7.0 migration guide: a "The Windows SDK projection is picked by the Uno.Sdk" section in Project setup, a sentence in upgrade step 3, a checklist item, a CS1705 row in the error lookup and a WindowsSdkPackageVersion row in "Search your code".
  • 6.0 migration guide and 5.4 notes (previous releases page): a note on their WindowsSdkPackageVersion snippets for 7.0.
  • Community Toolkit v8 page: a note for 7.0 that covers both pinned properties, as a 1.x WinAppSdkVersion also fails restore (NU1605).

Docs only. Merge after #26276: until an Uno.Sdk with that fix ships, a .87 pin still gives NETSDK1230. The Mergify backport to release/stable/7.0 (files identical there) should merge after #26277.

PR Checklist ✅

🤖 Generated with Claude Code

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

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @agneszitte's task in 14s —— View job


Review summary

Verdict: 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:

  • Both xref targets the new links use, Uno.Development.MigratingToUno7.ProjectSetup and Uno.Development.MigratingToUno6, exist.
  • The heading "The Windows SDK projection is picked by the Uno.Sdk" matches the anchor #the-windows-sdk-projection-is-picked-by-the-unosdk. I worked this out from the heading text and did not build the docs to confirm it.
  • The checklist, lookup rows, 6.0 note and Community Toolkit note all agree with the new section.
  • The PR links only to the public issue Uno.Sdk: setting WindowsSdkPackageVersion fails with NETSDK1230 since the default WindowsSdkPackageMinimumRevision was added #26174. It does not reference private artifacts.
  • The title follows Conventional Commits.

Cross-cutting notes, not blocking:

I did not run the docs build (/docs-build).

@unodevops

Copy link
Copy Markdown
Contributor

@agneszitte

Copy link
Copy Markdown
Member Author

@mergify backport release/stable/7.0

@mergify

mergify Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

backport release/stable/7.0

✅ Backports have been created

Details

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

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @agneszitte's task in 12s —— View job


Review summary

Verdict: 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 (6e15e6be, "Match the Windows SDK guidance to the uno#26174 fix"). It now tells people to remove WindowsSdkPackageVersion or raise it to .87 or later. That wording is consistent across the 6.0 note, the Community Toolkit note, the checklist item and the new section. The xref targets and the heading anchor are unchanged from the earlier review. I did not run the docs build.

Minor: The PR description says the error lookup gets both NETSDK1230 and CS1705 rows. The diff only adds the CS1705 row in lookup.md. The new section and the checklist item don't mention NETSDK1230 either. If NETSDK1230 is still a live failure for projects that set the property, add a row or a sentence for it. If the #26174 fix removed that failure, update the PR description so it matches the docs.

Backport: The Mergify backport release/stable/7.0 command is queued and will run once this PR merges.

@agneszitte agneszitte changed the title docs: Remove WindowsSdkPackageVersion when migrating to Uno 7 docs: Raise or remove WindowsSdkPackageVersion when migrating to Uno 7 Nov 10, 2026
@unodevops

Copy link
Copy Markdown
Contributor

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

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @agneszitte's task in 14s —— View job


Review summary

Verdict: 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.

  • Consistency: the 6.0 note, the Community Toolkit note, the checklist item, the CS1705 lookup row and the new section all give the same guidance: remove WindowsSdkPackageVersion or raise it to .87 or later.
  • NETSDK1230: the earlier question about a missing NETSDK1230 row no longer applies. The PR description says the fix(sdk): Respect a Windows SDK version or preview the project picks #26276 fix removed that failure, and the docs correctly omit it.
  • Not run: I did not run the docs build. I derived the section anchor #the-windows-sdk-projection-is-picked-by-the-unosdk from the heading text.
  • Backport: the Mergify backport release/stable/7.0 command is queued and will run after merge.

@carldebilly carldebilly left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

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:

  1. doc/articles/migrating-from-previous-releases.md, 5.4 section ("WinAppSDK 1.6 considerations"), which pins 10.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).
  2. doc/articles/migrating-to-uno-7.md, step 3. It already warns about a 1.x WinAppSdkVersion pin. 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.

@unodevops

Copy link
Copy Markdown
Contributor

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

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @agneszitte's task in 14s —— View job


Review summary

Verdict: 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:

  • The reworded "Windows SDK projection" section.
  • The notes in migrating-from-previous-releases.md and step 3 of migrating-to-uno-7.md.
  • The NU1605 coverage in the Community Toolkit note.
  • The WindowsSdkPackageVersion row in the "Search your code" table.

Minor: the new section says to use the .87 revision of your target framework's Windows SDK build, for example 10.0.26100.87. The shorter mentions don't repeat that. These are the checklist item, step 3 of migrating-to-uno-7.md, and the 6.0 note. All three say only "use a .87 revision". A reader who goes from the 6.0 10.0.19041.57 pin straight to 10.0.19041.87 on a newer TFM would silently lose the newer SDK APIs. Each of those links to the section, so this is acceptable. A short "for your TFM" would close the gap.

Cross-cutting:

@agneszitte agneszitte changed the title docs: Raise or remove WindowsSdkPackageVersion when migrating to Uno 7 docs: Remove or update WindowsSdkPackageVersion when migrating to Uno 7 Nov 10, 2026
@agneszitte

Copy link
Copy Markdown
Member Author

Thanks, all applied in 97c8d66:

  • The section uses your wording.
  • The Community Toolkit note covers both properties.
  • "Search your code" has a WindowsSdkPackageVersion row.
  • The 5.4 notes and upgrade step 3 point to the section.

The 6.0 note and the checklist item now say the same thing (a .87 revision, "can fail"). The merge order is in the description: this one after #26276, and the 7.0 backport after #26277.

@mergify

mergify Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

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.

@unodevops

Copy link
Copy Markdown
Contributor

@agneszitte
agneszitte merged commit 32a6015 into master Nov 10, 2026
20 checks passed
@agneszitte
agneszitte deleted the dev/agzi/docs-uno7-windowssdkpackageversion branch November 10, 2026 04:03
agneszitte added a commit that referenced this pull request Nov 10, 2026
…7.0/pr-26273

docs: Remove or update WindowsSdkPackageVersion when migrating to Uno 7 (backport #26273)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants