You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(build)!: Drop the Skia segment from the host package ids - #24803
GitHub Issue: part of unoplatform/uno-private#2395 (the assembly/namespace/type half lands in the stacked follow-up #24804)
PR Type:
🏗️ Build or CI related changes
What changed? 🚀
Drops the Skia segment from the package ids of the runtime hosts and the host add-ins. Since #24153 the drawing backend is pluggable and chosen at run time, and the hosts no longer depend on SkiaSharp. A WebGPU-backed app that ships Uno.WinUI.Runtime.Skia.Win32 is confusing, and package ids can only change in a major.
Uno.WinUI.Runtime.WebAssembly.Browser, the same Skia-segment drop as every other host. The bare …Runtime.WebAssembly is the retired DOM renderer's id on nuget.org, so the .Browser suffix stays.
Uno.WinUI.MediaPlayer.Skia.{Win32,X11}
Uno.WinUI.MediaPlayer.{Win32,X11}
Uno.WinUI.WebView.Skia.X11
Uno.WinUI.WebView.X11
Every new id is free on nuget.org (checked against the flat container).
This PR covers package identity only. Assemblies, namespaces and type names are unchanged, so no source changes for anyone. PackageId is independent of AssemblyName, so the package rename can land first and lock in the consumer-visible ids before 7.0 GA. It doesn't need to wait for the ~420-file assembly/namespace rename, which conflicts with a lot of open work.
Beyond the find-and-replace
build/ and buildTransitive/ files are renamed to the new ids. NuGet only auto-imports <PackageId>.props/.targets, so skipping this would silently drop IsUnoHead, the feature defines, and the WASM GL shim.
CommonOverridePackageId is pinned to $(PackageId) in the host projects. UnoNugetOverrideVersion otherwise derives the package folder from the assembly name (Uno.UI.Runtime.Skia.X11 → uno.winui.runtime.skia.x11), which no longer matches. The follow-up that renames the assemblies can drop these pins. Win32.Support rides in the Win32 package, so its explicit id moves too.
PackageDiff keeps diffing each host against the last build published under its old id (--base = old id, --other = new nupkg). Without that, the renamed packages would have no baseline on nuget.org and API regressions would go unchecked.
The native-head pack guard now reads ^Uno\.WinUI(\.Runtime)?\.(WebAssembly|Wasm)\.(?!Browser\.), so it still rejects the retired Uno.WinUI.WebAssembly / Uno.WinUI.Runtime.WebAssembly packages but lets Uno.WinUI.Runtime.WebAssembly.Browser through.
SamplesApp imports the Android, AppleUIKit and WebAssembly host props/targets through wildcards on the file names (build\*.Runtime.Skia.Android.props). After the rename these matched nothing, and MSBuild drops a wildcard import that matches nothing without any warning. The runtime tests' AlcApp, HRApp and HRUnoLib fixture projects had the same problem with *.Skia.X11.*: AlcApp lost UnoRuntimeIdentifier, generated non-Skia XAML code and failed to build, which failed every Given_AlcContentHost test on the desktop legs. All of these now import the host files by exact name, so a future rename fails the build instead of silently skipping the import. The MediaPlayer add-ins' UnoNugetOverrideVersion target wrote to a UWP-era folder (uno.ui.mediaplayer.skia.*) and now derives it from $(PackageId).
Package descriptions are rewritten to name the host rather than "Skia". The WebAssembly one was a copy of the Linux framebuffer description.
The headless host is now packed on CI. It was only in the dev filter (src/Uno.UI-Skia-only.slnf), not in the CI pack filters (build/filters/Uno.UI-packages-{all,skia}.slnf). So no nupkg was ever produced, and master stayed green because the publish step pushes whatever *.nupkg exists. That's why the old id 404s on nuget.org even though the docs tell users to reference it. It has no PackageDiff entry, since there's no published baseline to diff against.
Old ids
No forwarding packages, following the precedent 7.0 already set for the Uno.WinUI.Skia.X11/.MacOS/.Linux.FrameBuffer bootstrapper packages. Uno.Sdk apps reference the hosts implicitly, so nothing changes for them. The old ids get deprecated with the new id as the alternate, tracked in unoplatform/uno-private#2066. The migration guide lists the mapping. A forwarder can't work cleanly anyway: Android, AppleUIKit and WebAssembly ship their MSBuild logic in non-transitive build/, so it wouldn't flow through a dependency.
Project/folder/assembly renames (Uno.UI.Runtime.Skia.* → Uno.UI.Runtime.*), namespaces (including unifying the Uno.WinUI.Runtime.Skia.* stragglers), the WASM JS interop names, and the public types SkiaHost, ISkiaApplicationHost, IAndroidSkiaHostBuilder, IAppleUIKitSkiaHostBuilder, MacSkiaHost.
Downstream: uno.templates, uno.check and the external docs name some of these ids and need the same update (unoplatform/uno-private#2148).
After merge: nuget.org package setup
@agneszitte two manual steps on nuget.org once this merges:
Initial upload of the new ids. The CI API key can't create new package ids, so the first push of each new id needs a manual upload; after that, CI pushes new versions as usual. None of them exist yet (flat container returns 404 for all 12, checked 2026-09-29).
Mark the old ids as legacy. Deprecate every version of each old id with reason Legacy and the new id as the alternate package, so dotnet list package --deprecated and the nuget.org page point people at the replacement (also tracked in unoplatform/uno-private#2066).
Upload (new id)
Mark legacy (old id, alternate = new id)
☐ Uno.WinUI.Runtime
☐ Uno.WinUI.Runtime.Skia
☐ Uno.WinUI.Runtime.Win32
☐ Uno.WinUI.Runtime.Skia.Win32
☐ Uno.WinUI.Runtime.X11
☐ Uno.WinUI.Runtime.Skia.X11
☐ Uno.WinUI.Runtime.MacOS
☐ Uno.WinUI.Runtime.Skia.MacOS
☐ Uno.WinUI.Runtime.Linux.FrameBuffer
☐ Uno.WinUI.Runtime.Skia.Linux.FrameBuffer
☐ Uno.WinUI.Runtime.Headless
— (never published to nuget.org)
☐ Uno.WinUI.Runtime.Android
☐ Uno.WinUI.Runtime.Skia.Android
☐ Uno.WinUI.Runtime.AppleUIKit
☐ Uno.WinUI.Runtime.Skia.AppleUIKit
☐ Uno.WinUI.Runtime.WebAssembly.Browser
☐ Uno.WinUI.Runtime.Skia.WebAssembly.Browser
☐ Uno.WinUI.MediaPlayer.Win32
☐ Uno.WinUI.MediaPlayer.Skia.Win32
☐ Uno.WinUI.MediaPlayer.X11
☐ Uno.WinUI.MediaPlayer.Skia.X11
☐ Uno.WinUI.WebView.X11
☐ Uno.WinUI.WebView.Skia.X11
Uno.WinUI.Runtime.Skia.Headless has no row to deprecate: CI never packed it (see above), so it was never published to nuget.org (404). Uno.UI.Runtime.Skia.Win32.Support isn't listed because it has no package of its own (it ships inside the Win32 package).
Breaking change (7.0): the package ids above change. Uno.Sdk apps need no action. An explicit PackageReference to an old id (in practice Uno.WinUI.Runtime.Skia.Headless, the one host the Sdk doesn't reference implicitly) must switch to the new id.
✅ produces Uno.WinUI.Runtime.X11.nupkg: <id>Uno.WinUI.Runtime.X11</id>, buildTransitive/Uno.WinUI.Runtime.X11.{props,targets}, dependency on the renamed Uno.WinUI.Runtime, assembly still lib/net10.0/Uno.UI.Runtime.Skia.X11.dll
✅ produces Uno.WinUI.Runtime.Headless.nupkg with buildTransitive/Uno.WinUI.Runtime.Headless.{props,targets} and lib/net10.0/Uno.UI.Runtime.Skia.Headless.dll. CI now builds it through the pack filters
Evaluation: SamplesApp's wildcard imports of the host build/ files (dotnet msbuild -getProperty:UnoWinRTRuntimeIdentifier)
❌ before the fix: empty for net10.0-browserwasm and net10.0-android, because the *.Runtime.Skia.* wildcard silently matched nothing after the file rename. ✅ after: WebAssembly / Android
only namespaces/RootNamespace (follow-up), historical Gtk ids in the analyzer, the PackageDiff base ids, and the external Uno.Extensions.Maui.WinUI.Runtime.Skia
Left to CI: full packaging including the PackageDiff run against the old ids, and template tests through the Uno.Sdk implicit references.
Verdict: no blocking issues found. This is a clean, mechanical package-id rename — no C#/XAML behavior changes, and the infra edits (build//buildTransitive renames, CommonOverridePackageId pins, PackageDiff base/other wiring, native-head guard regex) are all internally consistent with the stated goal.
Gather context (PR description, changed files)
Review build/csproj changes (package id renames, CommonOverridePackageId pins)
CommonOverridePackageId pin is necessary and correct: the default derivation in Uno.CrossTargetting.targets builds the override folder from AssemblyName (still Uno.UI.Runtime.Skia.*), which would now diverge from the new PackageId-derived NuGet folder. Every renamed host pins it to $(PackageId); Win32.Support's existing hardcoded CommonOverridePackageId was updated to match the new Win32 host id.
Native-head pack guard regex ^Uno\.WinUI(\.Runtime)?\.(WebAssembly|Wasm)\.(?!Browser\.) correctly still forbids Uno.WinUI.WebAssembly.*/Uno.WinUI.Runtime.Wasm.* while excluding only ...WebAssembly.Browser.* — verified against several filename cases including the anchor and lookahead boundary.
PackageDiff _diffPackage items correctly keep Include (old id) as the diff base and update Other (new nupkg path) to the new id — matches the stated "no baseline regression" intent.
Uno.Sdk/packages.json and all Uno.Implicit.Packages.ProjectSystem.*.targets implicit references were updated consistently across Android/iOS/tvOS/Wasm/Desktop/Legacy.
Docs (migrating-to-uno-7.md, browser-input-helper.md, using-skia-headless.md, platform-specific-csharp.md) and the one SamplesApp code-behind string were all updated; grepped the whole repo for the old package-id patterns and found only the intentionally-untouched items called out in the PR description (namespaces/RootNamespace, historical Gtk id in the analyzer/docs, the PackageDiffIgnore.xml type-name entry Uno.WinUI.Runtime.Skia.LinuxFB.EventLoop which is a fully-qualified type name, not a package id, and the external Uno.Extensions.Maui.WinUI.Runtime.Skia reference).
The two AddIn projects (MediaPlayer.Skia.Win32, WebView.Skia.X11) don't use CommonOverridePackageId-derived override paths (they hardcode the debug-override folder from the unchanged assembly name directly), so they didn't need a pin — consistent, no gap.
Conventional Commits: PR title and both commits use the correct feat(build)!:/docs: format with the breaking-change marker.
No SOLID/async/DP/test-coverage findings apply — this PR touches only project/package metadata and docs, not runtime code.
Verdict: no blocking issues. Independently re-verified this mechanical package-id rename end to end (all 3 commits, HEAD~3..HEAD) — same conclusion as the automated pass: internally consistent, no C#/XAML behavior change.
Issues found: 0 (no inline comments posted)
Cross-cutting notes, not tied to a single line:
The root cause for pinning CommonOverridePackageId checks out against Uno.CrossTargetting.targets: its default derivation (AssemblyName → lowercase → uno.ui→uno.winui replace) still yields uno.winui.runtime.skia.x11 since the assembly name keeps the Skia segment — every renamed host now pins $(PackageId) explicitly to avoid a stale override folder, and Win32.Support's hardcoded pin (uno.winui.runtime.win32) matches the new Win32 host id.
The build//buildTransitive renames are pure renames (100% similarity, confirmed via git diff -M) — no content drift, and the SamplesApp.csproj glob Imports (*.Runtime.Android.props, etc.) correctly still match the new filenames.
The follow-up fix(build) commit (851c2c7) closes a gap the earlier automated review flagged as a non-issue: the MediaPlayer.Skia.Win32/X11 and WebView.Skia.X11 AddIn projects' debug-override _TargetNugetFolder now derives from $(PackageId.ToLowerInvariant()) instead of a hardcoded old-assembly-name folder — so local UnoNugetOverrideVersion debugging keeps working post-rename for those two AddIns too.
Repo-wide grep for the dropped Uno.WinUI.(Runtime|MediaPlayer|WebView).Skia* id patterns turns up only out-of-scope hits: C# namespaces/RootNamespace (explicitly deferred to the stacked assembly/namespace-rename follow-up), the retired Gtk-era ids in the analyzer and error-code docs, and PackageDiffIgnore.xml entries that are fully-qualified type names, not package ids.
Native-head pack guard regex re-verified independently against the anchor/lookahead boundary: ^Uno\.WinUI(\.Runtime)?\.(WebAssembly|Wasm)\.(?!Browser\.) still forbids Uno.WinUI.Runtime.Wasm.*/Uno.WinUI.WebAssembly.* while excluding only ...WebAssembly.Browser.*.
Conventional Commits followed correctly (feat(build)!: title/commit with breaking-change marker, docs:/fix(build): for the others).
Verdict: no blocking issues. The prior two automated reviews already covered commits 89a40e76/0ec77ad3/851c2c70 with no findings. This pass focuses on the new commit 5eff04a4 ("Name the browser host package Uno.WinUI.Runtime.BrowserWasm"), which supersedes the browser package's id decision (from Uno.WinUI.Runtime.WebAssembly.Browser, described in the PR's top table/body, to Uno.WinUI.Runtime.BrowserWasm, matching the browserwasm TFM the Sdk already uses for this head).
Issues found: 0 (no inline comments posted)
Verified specifically for this commit:
The native-head pack guard regex was simplified from ^Uno\.WinUI(\.Runtime)?\.(WebAssembly|Wasm)\.(?!Browser\.) to ^Uno\.WinUI(\.Runtime)?\.(WebAssembly|Wasm)\. — correct, since the exempted package no longer exists under that name. Uno.WinUI.Runtime.BrowserWasm does not match the new pattern (the literal segment right after Runtime. must be exactly WebAssembly or Wasm, and BrowserWasm starts with B), so the host still packs cleanly without needing a lookahead exception, while Uno.WinUI.WebAssembly.*/Uno.WinUI.Runtime.Wasm.* (retired DOM renderer ids) remain correctly forbidden.
PackageDiff's _diffPackage entry keeps Include="Uno.WinUI.Runtime.Skia.WebAssembly.Browser" (old id, diff base) and only updates Other to the new Uno.WinUI.Runtime.BrowserWasm.*.nupkg path — consistent with the diffing strategy already established for the other hosts.
PackageId, the renamed build/Uno.WinUI.Runtime.BrowserWasm.{props,targets} (pure rename, no content drift), CommonOverridePackageId, Uno.Sdk/packages.json, Uno.Implicit.Packages.ProjectSystem.Wasm.targets, SamplesApp.csproj's wildcard Imports, the migration guide, browser-input-helper.md, and the SamplesApp sample code-behind string are all updated consistently to the new id — repo-wide grep for both the old Uno.WinUI.Runtime.WebAssembly.Browser id and stray WebAssembly.Browser/BrowserWasm package-id references turned up nothing missed (remaining hits are unrelated project/folder-name references or out-of-scope spec documents, not package ids).
Conventional Commits format is correct (feat(build)!: with breaking-change marker).
Cross-cutting note (non-blocking): the PR description's comparison table and title still reflect the earlier Uno.WinUI.Runtime.WebAssembly.Browser decision for the browser host, superseded by this commit's Uno.WinUI.Runtime.BrowserWasm. Worth a quick description edit before merge so reviewers relying on the table aren't misled, but this doesn't affect the code itself.
Verdict: no blocking issues. The three prior automated passes already covered commits 89a40e76/0ec77ad3/851c2c70/5eff04a4 with no findings. This pass focuses on the new commit e0416584 ("Import the renamed X11 host files in the test apps"), which fixes the CI failure reported afterward in this thread (Azure DevOps build 236190).
Issues found: 0 (no inline comments posted)
What the new commit does and why it's correct:
AlcApp, HRApp and HRUnoLib imported the X11 host's buildTransitive props/targets via a *.Skia.X11.* wildcard glob. After the rename to Uno.WinUI.Runtime.X11.{props,targets}, that glob silently matched nothing — MSBuild drops a wildcard <Import> that matches zero files without a warning, so UnoRuntimeIdentifier never got set and the ALC fixture generated non-Skia XAML, breaking the build. This is exactly the same class of gap the PR description already called out for SamplesApp's Android/AppleUIKit/WebAssembly imports; the X11 imports in these three test-support projects were the missed spot.
Fix replaces each wildcard with the exact renamed filename (Uno.WinUI.Runtime.X11.props/.targets), matching the pattern already used for the other hosts. I confirmed with grep across src/**/*.csproj that no <Import> element referencing a *.Skia.* or *.Runtime.* wildcard remains anywhere in the tree — the remaining build/*.*/buildTransitive/*.* glob hits are unrelated <Content Include>/<None Include> pack globs (intentionally match-everything, not exact-file imports), not imports.
Root-cause fix, not a guard: switching from a wildcard glob to an exact name means a future rename will hard-fail the build (missing file) instead of silently skipping the import — the commit message states this intent explicitly, and it's the right fix for this failure mode.
Conventional Commit format is correct (fix(build):).
Cross-cutting note (non-blocking, carried over from the prior review pass): the PR description's comparison table still lists Uno.WinUI.Runtime.Skia.WebAssembly.Browser → Uno.WinUI.Runtime.WebAssembly.Browser, superseded by the later decision to use Uno.WinUI.Runtime.BrowserWasm. Worth a quick description edit before merge.
Verdict: no blocking issues. This sync event carries the same 5 commits / 47-file diff already covered by the four prior automated review passes on this PR; no new commits landed since the last one (5f1bc992/"Import the renamed X11 host files in the test apps" was already reviewed under its pre-rebase SHA e0416584). I independently re-verified the full diff against origin/master end to end rather than just trusting the prior passes.
Issues found: 0 (no inline comments posted)
Specifically re-verified:
build/Uno.UI.Build.csproj: the native-head pack guard regex (^Uno\.WinUI(\.Runtime)?\.(WebAssembly|Wasm)\.) still excludes Uno.WinUI.Runtime.BrowserWasm (doesn't start with WebAssembly./Wasm.) while forbidding the retired Uno.WinUI.WebAssembly.*/Uno.WinUI.Runtime.Wasm.* ids; the _diffPackage items keep Include at the old id (diff baseline) and only update Other to the new nupkg filename for every renamed host — correct per the stated no-regression-baseline strategy.
Every renamed host csproj (Skia, X11, Win32, WebAssembly.Browser, and the pre-existing Win32.Support) pins CommonOverridePackageId to $(PackageId) (or the lowercase literal for Win32.Support), with a one-line comment explaining why: AssemblyName still carries the Skia segment, so the default override-folder derivation in Uno.CrossTargetting.targets would otherwise diverge from the new NuGet folder.
All 8 renamed build//buildTransitive prop/target file pairs are pure 100%-similarity git renames (verified via git diff -M --summary) — zero content drift.
Uno.Sdk/packages.json and all six Uno.Implicit.Packages.ProjectSystem.*.targets (Android/Desktop/Legacy/Wasm/iOS/tvOS) consistently reference the new ids.
SamplesApp.csproj's wildcard Imports for Android/AppleUIKit/WebAssembly and the AlcApp/HRApp/HRUnoLib X11 imports were all switched from glob patterns (which would now silently match nothing) to exact renamed filenames — this was the actual root cause of the CI failure reported earlier in this thread, and the fix addresses it at the import site rather than adding a fallback/guard.
The two MediaPlayer AddIns and the WebView AddIn have their PackageId, description, and debug-override _TargetNugetFolder (now derived from $(PackageId.ToLowerInvariant()) instead of a hardcoded stale folder name) updated consistently.
Docs (migrating-to-uno-7.md, browser-input-helper.md, using-skia-headless.md) correctly reflect the final Uno.WinUI.Runtime.BrowserWasm decision (superseding the PR description's now-stale WebAssembly.Browser table, which is a description-only inconsistency, not a code issue).
Conventional Commits format is correct across all 5 commits (feat(build)!:, fix(build):, docs:, with breaking-change markers where appropriate).
Cross-cutting note (non-blocking, carried over from prior passes): the PR description's top comparison table still shows Uno.WinUI.Runtime.Skia.WebAssembly.Browser → Uno.WinUI.Runtime.WebAssembly.Browser, superseded by the later BrowserWasm decision. Worth a quick description edit before merge for reviewer clarity — doesn't affect the code.
Verdict: no blocking issues. This sync event carries the same 6 commits / 47-file diff (+103/-83) already reviewed end-to-end by the five prior automated passes on this PR (most recently against 5f1bc992/3c2eb282). I independently re-diffed against the pre-PR base (b8b49772^..HEAD) and confirmed it's byte-for-byte the same change described in the PR body — no new commits landed since the last review.
Issues found: 0 (no inline comments posted)
Spot-re-verified as part of this pass, consistent with all prior findings:
build/Uno.UI.Build.csproj: native-head pack guard regex and _diffPackageInclude(old id)/Other(new nupkg) wiring are unchanged and correct.
Uno.UI.Runtime.Skia.X11/.Win32 csproj: PackageId renamed, CommonOverridePackageId explicitly pinned to $(PackageId) with a comment explaining why (assembly name still carries the Skia segment, so the default derivation would diverge).
Win32.Support's pre-existing hardcoded CommonOverridePackageId literal was updated to match the new Win32 host id.
The MediaPlayer.Skia.Win32 and WebView.Skia.X11 AddIns now derive their debug-override _TargetNugetFolder from $(PackageId.ToLowerInvariant()) instead of a hardcoded old-assembly-name folder.
Cross-cutting note (non-blocking, carried over from prior passes): the PR description's top comparison table still shows the superseded Uno.WinUI.Runtime.Skia.WebAssembly.Browser → Uno.WinUI.Runtime.WebAssembly.Browser mapping instead of the final Uno.WinUI.Runtime.BrowserWasm decision from the later commit. Worth a quick description edit before merge for reviewer clarity — doesn't affect the code.
· Branch
Verdict: no blocking issues. This sync carries 4 new commits since the last automated pass (f49db108, d2905fd4, b4263020, ad063e39), on top of the 5 commits already reviewed end-to-end six times with no findings. I reviewed the 4 new commits individually and re-checked the full diff against origin/master for anything not previously covered.
Issues found: 0 (no inline comments posted)
What the new commits do, verified correct:
f49db108 (fix): adds Uno.UI.Runtime.Skia.Headless.csproj to both CI pack filters (Uno.UI-packages-{all,skia}.slnf), alphabetically placed, valid JSON, path matches the actual project location. This is the fix described in the PR body for the host that was silently never packed/published. No PackageDiff entry was added for it, confirmed by grep — correct, since there's no published baseline to diff against (the PR explicitly calls this out).
d2905fd4 (test): updates the pre-existing Given_RuntimeHostPackages.cs test (added by an unrelated prior PR, not this one) to find each host's props file by a Uno.WinUI.Runtime.*.props glob scoped to that host's own build/buildTransitive folder, instead of rebuilding the retired Uno.WinUI.Runtime.Skia.{host}.props name. Since the glob is scoped per-host-folder (which only ever contains that host's own props file), the ContainSingle assertion still holds.
b4263020 / ad063e39 (docs): rewords the migrating-to-uno-7.md preprocessor-symbol note and the UNOB0025 doc/warning text to say Uno.WinUI.Runtime.*. I checked for an inconsistency here: uno-build-error-codes.md's second UNOB0025 paragraph and the MSBuild Error text in uno.winui.runtime-replace.targets still say Uno.WinUI.Runtime.Skia.* — but that's intentional, not stale. That branch specifically fires for a genuinely pre-7.0 host (detected via the old UnoUIRuntimeIdentifier property, per the target's own comment), which really was named Uno.WinUI.Runtime.Skia.* at that time, so the old name is correct there. The sibling Warning text (new-style missing-host case) is the one this PR's commit updated, correctly.
Remaining repo-wide Runtime.Skia.* hits (architect.md, platform-targeting.md, uno-drawing-backend-abstraction.md, migrating-to-uno-7.md:391) all refer to project/folder names, not package ids — correctly out of scope for this PR (deferred to the stacked assembly/namespace-rename follow-up refactor!: Drop Skia from the host assemblies, namespaces and types #24804).
Conventional Commits format is correct for all 4 new commits (fix(build):, test(build):, docs: × 2).
· Branch
Gather context (PR description, diff, prior review history — 12 prior automated passes on this thread)
Determine what's new since the last automated review pass
Review new commit against AGENTS.md rules
Re-verify previously raised findings still hold
Post inline findings (none — see below)
Post summary
Verdict: no blocking issues. This sync carries exactly one new commit since the last automated pass (job 37111154258, which covered through 0940b56a): c2b0d58e ("chore(build): Drop the Skia-only claim from the head guard").
Issues found: 0 (no inline comments posted)
What the new commit does, verified correct:
Resolves Copilot's last open finding (discussion_r4172454301, posted 2026-10-03): the ValidateNoNativeUIHeadPackages target's comment and <Error> text asserted "Skia is the only renderer" — a claim this PR's own premise contradicts (the backend is pluggable since feat!: pluggable drawing backend abstraction (WebGPU renderer + managed engines) #24153, which is the entire reason the Skia segment is being dropped from package ids).
The comment now reads "The native UI rendering heads were retired in 7.0: fail the pack if one of their packages is produced", and the error text reads "Retired native UI head package(s) produced but must not ship in 7.0: ... Remove them from the pack pipeline." Both describe the actual policy (retired native-UI-head packages must not ship) without asserting Skia exclusivity.
Pure string/comment change — the enforcement regex (^Uno\.WinUI(\.Runtime)?\.(WebAssembly|Wasm)\.(?!Browser\.)) and the rest of build/Uno.UI.Build.csproj (including the macOS _diffPackage entry added earlier) are untouched, so all prior findings (Copilot's 7 resolved findings across three passes, plus the macOS PackageDiff gap closed in 664547a3) remain resolved.
No cross-cutting concerns beyond what's already been raised and resolved in this thread. This PR remains packaging/project-metadata and docs only — no runtime code changed.
Correct migration guide claims about host SkiaSharp dependencies
doc/articles/migrating-to-uno-7.md:104
This rationale overstates the current package state: Headless still directly references SkiaSharp, the browser host references SkiaSharp.NativeAssets.WebAssembly, and the macOS host says its native library cannot load without libSkiaSharp (Uno.UI.Runtime.Skia.Headless.csproj:28, Uno.UI.Runtime.Skia.WebAssembly.Browser.csproj:37-39, Uno.UI.Runtime.Skia.MacOS.csproj:30-32). The IDs can be backend-neutral, but the migration guide should say that package identity no longer selects the backend rather than claiming the hosts are no longer tied to SkiaSharp.
The runtime hosts no longer depend on SkiaSharp since the drawing backend
became pluggable, so `Uno.WinUI.Runtime.Skia.*` names a backend the package
does not select. Rename the host packages to `Uno.WinUI.Runtime.*` and the
host add-ins to `Uno.WinUI.{MediaPlayer,WebView}.*`, along with their
build/buildTransitive files, the Uno.Sdk implicit references and the
package descriptions.
Assembly names and namespaces are unchanged.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01CrFdqbK73JzHpqJ8AGQTSv
AlcApp, HRApp and HRUnoLib imported the X11 host props and targets through
a `*.Skia.X11.*` wildcard, which matched nothing after the package rename.
The props that set `UnoRuntimeIdentifier` were dropped silently, so the
ALC fixture app generated non-Skia XAML code and failed to build.
Import every host build file by its exact name, so a future rename fails
the build instead of skipping the import.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01CrFdqbK73JzHpqJ8AGQTSv
The host props are now Uno.WinUI.Runtime.<host>.props, so match them by pattern instead of rebuilding the old name.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Verdict: no blocking issues. This sync carries the identical 14-commit / 53-file diff (+121/-92) already covered end-to-end by the 13 prior automated passes on this thread, through 8711f777/"chore(build): Drop the Skia-only claim from the head guard" (previously reviewed under its pre-rebase SHA c2b0d58e). I independently re-diffed against origin/master rather than trusting the prior conclusions.
Issues found: 0 (no inline comments posted)
This PR is packaging/project-metadata and docs only — no C#/XAML runtime behavior changes — so most of the AGENTS.md review checklist (SOLID/DP/async/XAML styling/events) doesn't apply. Independently re-verified the MSBuild-specific items:
build/Uno.UI.Build.csproj: native-head pack guard regex ^Uno\.WinUI(\.Runtime)?\.(WebAssembly|Wasm)\.(?!Browser\.) still correctly excludes the browser host while forbidding retired WebAssembly/Wasm ids; comment/error text no longer claims Skia is the only renderer (resolves the last open Copilot finding); _diffPackage now covers all packed, publicly-baselined hosts including macOS, with Include pinned to each old id and Other to the new nupkg path.
Both MediaPlayer AddIns (Win32, X11) pin CommonOverridePackageId to $(PackageId), matching the runtime hosts, so local UnoNugetOverrideVersion debugging targets the renamed package folder.
Given_RuntimeHostPackages.cs reads PackageId straight from each host's .csproj and asserts the exact {packageId}.props file exists in build/buildTransitive, closing the earlier wildcard-match gap — this is the test-coverage mechanism that pins the auto-import invariant the whole rename depends on.
UNOB0025 error text and its doc remediation (uno-build-error-codes.md) correctly tell users to replace (not version-align) an old Uno.WinUI.Runtime.Skia.* id with its renamed Uno.WinUI.Runtime.* id.
Conventional Commits followed correctly across all 14 commits (feat(build)!: with breaking-change marker, fix(build):, docs:, test(build):, ci:, chore(build):).
All 7 of Copilot's findings across its review passes (5 on 2026-10-01, 2 on 2026-10-02, 1 on 2026-10-03) are resolved in the current tree. No cross-cutting concerns beyond what's already been raised and addressed in this thread.
· Branch
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
area/automationCategorizes an issue or PR as relevant to project automationarea/buildCategorizes an issue or PR as relevant to build infrastructurearea/code-generationCategorizes an issue or PR as relevant to code generationarea/sdkCategorizes an issue or PR as relevant to the Uno.Sdkarea/skia ✏️Categorizes an issue or PR as relevant to Skiaarea/solution-templatesCategorizes an issue or PR as relevant to the solution templatekind/documentationplatform/android 🤖Categorizes an issue or PR as relevant to the Android platformplatform/ios 🍎Categorizes an issue or PR as relevant to the iOS platformplatform/macos 🍏Categorizes an issue or PR as relevant to the macOS platformplatform/wasm 🌐Categorizes an issue or PR as relevant to the WebAssembly platformplatform/x11 🐧Categorizes an issue or PR as relevant to X11
5 participants
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: part of unoplatform/uno-private#2395 (the assembly/namespace/type half lands in the stacked follow-up #24804)
PR Type:
🏗️ Build or CI related changes
What changed? 🚀
Drops the
Skiasegment from the package ids of the runtime hosts and the host add-ins. Since #24153 the drawing backend is pluggable and chosen at run time, and the hosts no longer depend on SkiaSharp. A WebGPU-backed app that shipsUno.WinUI.Runtime.Skia.Win32is confusing, and package ids can only change in a major.Uno.WinUI.Runtime.SkiaUno.WinUI.RuntimeUno.WinUI.Runtime.Skia.{Win32,X11,MacOS,Linux.FrameBuffer,Headless,Android,AppleUIKit}Uno.WinUI.Runtime.{…}Uno.WinUI.Runtime.Skia.WebAssembly.BrowserUno.WinUI.Runtime.WebAssembly.Browser, the sameSkia-segment drop as every other host. The bare…Runtime.WebAssemblyis the retired DOM renderer's id on nuget.org, so the.Browsersuffix stays.Uno.WinUI.MediaPlayer.Skia.{Win32,X11}Uno.WinUI.MediaPlayer.{Win32,X11}Uno.WinUI.WebView.Skia.X11Uno.WinUI.WebView.X11Every new id is free on nuget.org (checked against the flat container).
This PR covers package identity only. Assemblies, namespaces and type names are unchanged, so no source changes for anyone.
PackageIdis independent ofAssemblyName, so the package rename can land first and lock in the consumer-visible ids before 7.0 GA. It doesn't need to wait for the ~420-file assembly/namespace rename, which conflicts with a lot of open work.Beyond the find-and-replace
build/andbuildTransitive/files are renamed to the new ids. NuGet only auto-imports<PackageId>.props/.targets, so skipping this would silently dropIsUnoHead, the feature defines, and the WASM GL shim.CommonOverridePackageIdis pinned to$(PackageId)in the host projects.UnoNugetOverrideVersionotherwise derives the package folder from the assembly name (Uno.UI.Runtime.Skia.X11→uno.winui.runtime.skia.x11), which no longer matches. The follow-up that renames the assemblies can drop these pins.Win32.Supportrides in the Win32 package, so its explicit id moves too.--base= old id,--other= new nupkg). Without that, the renamed packages would have no baseline on nuget.org and API regressions would go unchecked.^Uno\.WinUI(\.Runtime)?\.(WebAssembly|Wasm)\.(?!Browser\.), so it still rejects the retiredUno.WinUI.WebAssembly/Uno.WinUI.Runtime.WebAssemblypackages but letsUno.WinUI.Runtime.WebAssembly.Browserthrough.build\*.Runtime.Skia.Android.props). After the rename these matched nothing, and MSBuild drops a wildcard import that matches nothing without any warning. The runtime tests'AlcApp,HRAppandHRUnoLibfixture projects had the same problem with*.Skia.X11.*:AlcApplostUnoRuntimeIdentifier, generated non-Skia XAML code and failed to build, which failed everyGiven_AlcContentHosttest on the desktop legs. All of these now import the host files by exact name, so a future rename fails the build instead of silently skipping the import. The MediaPlayer add-ins'UnoNugetOverrideVersiontarget wrote to a UWP-era folder (uno.ui.mediaplayer.skia.*) and now derives it from$(PackageId).src/Uno.UI-Skia-only.slnf), not in the CI pack filters (build/filters/Uno.UI-packages-{all,skia}.slnf). So no nupkg was ever produced, and master stayed green because the publish step pushes whatever*.nupkgexists. That's why the old id 404s on nuget.org even though the docs tell users to reference it. It has no PackageDiff entry, since there's no published baseline to diff against.Old ids
No forwarding packages, following the precedent 7.0 already set for the
Uno.WinUI.Skia.X11/.MacOS/.Linux.FrameBufferbootstrapper packages.Uno.Sdkapps reference the hosts implicitly, so nothing changes for them. The old ids get deprecated with the new id as the alternate, tracked in unoplatform/uno-private#2066. The migration guide lists the mapping. A forwarder can't work cleanly anyway: Android, AppleUIKit and WebAssembly ship their MSBuild logic in non-transitivebuild/, so it wouldn't flow through a dependency.Not in this PR (stacked follow-up #24804)
Project/folder/assembly renames (
Uno.UI.Runtime.Skia.*→Uno.UI.Runtime.*), namespaces (including unifying theUno.WinUI.Runtime.Skia.*stragglers), the WASM JS interop names, and the public typesSkiaHost,ISkiaApplicationHost,IAndroidSkiaHostBuilder,IAppleUIKitSkiaHostBuilder,MacSkiaHost.Downstream: uno.templates, uno.check and the external docs name some of these ids and need the same update (unoplatform/uno-private#2148).
After merge: nuget.org package setup
@agneszitte two manual steps on nuget.org once this merges:
dotnet list package --deprecatedand the nuget.org page point people at the replacement (also tracked in unoplatform/uno-private#2066).Uno.WinUI.RuntimeUno.WinUI.Runtime.SkiaUno.WinUI.Runtime.Win32Uno.WinUI.Runtime.Skia.Win32Uno.WinUI.Runtime.X11Uno.WinUI.Runtime.Skia.X11Uno.WinUI.Runtime.MacOSUno.WinUI.Runtime.Skia.MacOSUno.WinUI.Runtime.Linux.FrameBufferUno.WinUI.Runtime.Skia.Linux.FrameBufferUno.WinUI.Runtime.HeadlessUno.WinUI.Runtime.AndroidUno.WinUI.Runtime.Skia.AndroidUno.WinUI.Runtime.AppleUIKitUno.WinUI.Runtime.Skia.AppleUIKitUno.WinUI.Runtime.WebAssembly.BrowserUno.WinUI.Runtime.Skia.WebAssembly.BrowserUno.WinUI.MediaPlayer.Win32Uno.WinUI.MediaPlayer.Skia.Win32Uno.WinUI.MediaPlayer.X11Uno.WinUI.MediaPlayer.Skia.X11Uno.WinUI.WebView.X11Uno.WinUI.WebView.Skia.X11Uno.WinUI.Runtime.Skia.Headlesshas no row to deprecate: CI never packed it (see above), so it was never published to nuget.org (404).Uno.UI.Runtime.Skia.Win32.Supportisn't listed because it has no package of its own (it ships inside the Win32 package).PR Checklist ✅
migrating-to-uno-7.mdgets the rename row; the headless, browser-input-helper and platform-specific-csharp articles name the new ids.Screenshots Compare Test Runresults.Breaking change (7.0): the package ids above change.
Uno.Sdkapps need no action. An explicitPackageReferenceto an old id (in practiceUno.WinUI.Runtime.Skia.Headless, the one host the Sdk doesn't reference implicitly) must switch to the new id.Validation
Uno.UI.Runtime.Skia.X11Release build,-p:UnoTargetFrameworkOverride=net10.0Uno.WinUI.Runtime.X11.nupkg:<id>Uno.WinUI.Runtime.X11</id>,buildTransitive/Uno.WinUI.Runtime.X11.{props,targets}, dependency on the renamedUno.WinUI.Runtime, assembly stilllib/net10.0/Uno.UI.Runtime.Skia.X11.dllUno.UI.Runtime.Skia.HeadlessRelease build,-p:UnoTargetFrameworkOverride=net10.0Uno.WinUI.Runtime.Headless.nupkgwithbuildTransitive/Uno.WinUI.Runtime.Headless.{props,targets}andlib/net10.0/Uno.UI.Runtime.Skia.Headless.dll. CI now builds it through the pack filtersbuild/files (dotnet msbuild -getProperty:UnoWinRTRuntimeIdentifier)net10.0-browserwasmandnet10.0-android, because the*.Runtime.Skia.*wildcard silently matched nothing after the file rename. ✅ after:WebAssembly/AndroidAlcApp/HRApp/HRUnoLibX11 imports (-getProperty:UnoRuntimeIdentifier)Skiafor all three; SamplesApp resolvesWebAssembly/Android/iOSwith the exact-name importsUno.WinUI.(Runtime|MediaPlayer|WebView).SkiareferencesRootNamespace(follow-up), historical Gtk ids in the analyzer, the PackageDiff base ids, and the externalUno.Extensions.Maui.WinUI.Runtime.SkiaLeft to CI: full packaging including the PackageDiff run against the old ids, and template tests through the Uno.Sdk implicit references.
🤖 Generated with Claude Code
https://claude.ai/code/session_01CrFdqbK73JzHpqJ8AGQTSv