Repository navigation
build: Remove the four superseded SamplesApp heads - #24046
Conversation
|
Claude finished @MartinZikmund's task in 4m 49s —— View job PR Review: build: Remove the four superseded SamplesApp headsTasks
SummaryVerdict: ship (with one fix) This is a clean, well-scoped infrastructure removal. The four superseded heads and the orphaned WASM UITests runner are fully excised, all consumers are retargeted, and the documentation/tooling sweep is thorough. The PR description's accounting of what was kept and why (SamplesApp.Skia, the SamplesApp.Windows IVTs, the aot.profile blob) is accurate and appreciated. The IVT drops are correct — Issues found: 2 (both in
Issue 1 — Inline comment posted (line 224): The quick-reference summary table's "Build command" row still carries Issue 2 — Line 46 (context line, not in diff; no inline possible): The strict-mode description still reads:
Should be Suggested fix for line 46: Both are low-severity doc-only issues that only affect AI-agent tooling; neither blocks CI. |
|
Tick the box to add this pull request to the merge queue (same as
|
There was a problem hiding this comment.
Pull request overview
This PR removes superseded/obsolete SamplesApp “head” projects (Skia Generic, Skia WASM Browser, netcoremobile, Windows, plus the old WASM puppeteer runner) after the repo moved to a consolidated multi-target SamplesApp (Uno.Sdk) head, and retargets remaining build/test/docs/tooling references accordingly.
Changes:
- Dropped
InternalsVisibleTogrants and solution/filter entries for removed SamplesApp heads. - Retargeted RuntimeTests helper apps (ALC/HR*) to reference the consolidated
SamplesAppdesktop output. - Updated docs, Gitpod scripts, CodeQL workflow, and agent skills to use the consolidated head and explicit TFMs.
Reviewed changes
Copilot reviewed 76 out of 104 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/Uno.UI/AssemblyInfo.cs | Remove IVT entries for deleted Skia head assemblies (consolidated head uses SamplesApp). |
| src/Uno.UI.slnx | Remove deleted SamplesApp head projects (and old WASM UI tests node project) from the solution. |
| src/Uno.UI.RuntimeTests/Tests/HotReload/Frame/HRUnoLib/Uno.UI.RuntimeTests.HRUnoLib.csproj | Retarget base-reference bin path to consolidated SamplesApp desktop output folder. |
| src/Uno.UI.RuntimeTests/Tests/HotReload/Frame/HRApp/Uno.UI.RuntimeTests.HRApp.Skia.csproj | Retarget base-reference bin path to consolidated SamplesApp desktop output folder; remove stale path comment. |
| src/Uno.UI.RuntimeTests/Tests/AssemblyLoadContext/AlcApp/Uno.UI.RuntimeTests.AlcApp.csproj | Retarget base-reference bin path to consolidated SamplesApp desktop output folder; remove stale path comment. |
| src/Uno.UI-Windows-only.slnf | Remove deleted SamplesApp.Windows project from Windows-only solution filter. |
| src/Uno.UI-Skia-only.slnf | Remove deleted Skia head projects from Skia-only solution filter. |
| src/SamplesApp/SamplesApp/SamplesApp.csproj | Tighten/update comments to match consolidated-head setup (no functional change shown in this diff). |
| src/SamplesApp/SamplesApp.Windows/SamplesApp.Windows.csproj | Delete obsolete Windows head project (superseded by consolidated head WinUI TFM). |
| src/SamplesApp/SamplesApp.Windows/Properties/PublishProfiles/win-x86.pubxml | Delete obsolete Windows head publish profile. |
| src/SamplesApp/SamplesApp.Windows/Properties/PublishProfiles/win-x64.pubxml | Delete obsolete Windows head publish profile. |
| src/SamplesApp/SamplesApp.Windows/Properties/PublishProfiles/win-arm64.pubxml | Delete obsolete Windows head publish profile. |
| src/SamplesApp/SamplesApp.Windows/Properties/launchSettings.json | Delete obsolete Windows head launch settings. |
| src/SamplesApp/SamplesApp.Windows/Package.appxmanifest | Delete obsolete Windows head manifest (now hosted under consolidated head Platforms/Windows). |
| src/SamplesApp/SamplesApp.Windows/GlobalUsings.cs | Delete obsolete Windows head global usings. |
| src/SamplesApp/SamplesApp.Windows/app.manifest | Delete obsolete Windows head app manifest. |
| src/SamplesApp/SamplesApp.Wasm.UITests/tsconfig.json | Delete orphaned Node/puppeteer runner config. |
| src/SamplesApp/SamplesApp.Wasm.UITests/TestRunner.ts | Delete orphaned Node/puppeteer runner source. |
| src/SamplesApp/SamplesApp.Wasm.UITests/TestRunner.js.map | Delete orphaned Node/puppeteer runner artifact. |
| src/SamplesApp/SamplesApp.Wasm.UITests/TestRunner.js | Delete orphaned Node/puppeteer runner artifact. |
| src/SamplesApp/SamplesApp.Wasm.UITests/SamplesApp.Wasm.UITests.njsproj | Delete orphaned Node/VS node project. |
| src/SamplesApp/SamplesApp.Wasm.UITests/package.json | Delete orphaned Node dependency manifest. |
| src/SamplesApp/SamplesApp.Wasm.UITests/dist/Properties/launchSettings.json | Delete orphaned node runner launch settings. |
| src/SamplesApp/SamplesApp.Wasm.UITests/app.ts | Delete orphaned Node/puppeteer runner entrypoint. |
| src/SamplesApp/SamplesApp.Wasm.UITests/app.js.map | Delete orphaned Node/puppeteer runner artifact. |
| src/SamplesApp/SamplesApp.Wasm.UITests/app.js | Delete orphaned Node/puppeteer runner artifact. |
| src/SamplesApp/SamplesApp.Skia/SamplesApp.Skia.csproj | Retarget embedded Windows manifest to consolidated head’s Platforms/Windows/Package.appxmanifest. |
| src/SamplesApp/SamplesApp.Skia.WebAssembly.Browser/WasmScripts/AppManifest.js | Delete obsolete WASM-browser head asset. |
| src/SamplesApp/SamplesApp.Skia.WebAssembly.Browser/SamplesApp.Skia.WebAssembly.Browser.csproj | Delete obsolete WASM-browser head project (superseded by consolidated head WASM TFM). |
| src/SamplesApp/SamplesApp.Skia.WebAssembly.Browser/Properties/launchSettings.json | Delete obsolete WASM-browser head launch settings. |
| src/SamplesApp/SamplesApp.Skia.WebAssembly.Browser/Program.cs | Delete obsolete WASM-browser head entry point. |
| src/SamplesApp/SamplesApp.Skia.WebAssembly.Browser/LinkerConfig.xml | Delete obsolete WASM-browser head linker descriptor. |
| src/SamplesApp/SamplesApp.Skia.netcoremobile/tvOS/Media.xcassets/LaunchImages.launchimage/Contents.json | Delete obsolete netcoremobile head tvOS asset catalog content. |
| src/SamplesApp/SamplesApp.Skia.netcoremobile/tvOS/Main.tvOS.cs | Delete obsolete netcoremobile head tvOS entry point. |
| src/SamplesApp/SamplesApp.Skia.netcoremobile/tvOS/Info.plist | Delete obsolete netcoremobile head tvOS plist. |
| src/SamplesApp/SamplesApp.Skia.netcoremobile/tvOS/Entitlements.plist | Delete obsolete netcoremobile head tvOS entitlements. |
| src/SamplesApp/SamplesApp.Skia.netcoremobile/SamplesApp.Skia.netcoremobile.csproj | Delete obsolete netcoremobile head project (superseded by consolidated head mobile TFMs). |
| src/SamplesApp/SamplesApp.Skia.netcoremobile/MacCatalyst/Media.xcassets/LaunchImages.launchimage/Contents.json | Delete obsolete netcoremobile head MacCatalyst asset catalog content. |
| src/SamplesApp/SamplesApp.Skia.netcoremobile/MacCatalyst/Main.MacCatalyst.cs | Delete obsolete netcoremobile head MacCatalyst entry point. |
| src/SamplesApp/SamplesApp.Skia.netcoremobile/MacCatalyst/Info.plist | Delete obsolete netcoremobile head MacCatalyst plist. |
| src/SamplesApp/SamplesApp.Skia.netcoremobile/MacCatalyst/Entitlements.plist | Delete obsolete netcoremobile head MacCatalyst entitlements. |
| src/SamplesApp/SamplesApp.Skia.netcoremobile/LinkerConfig.xml | Delete obsolete netcoremobile head linker descriptor. |
| src/SamplesApp/SamplesApp.Skia.netcoremobile/iOS/Media.xcassets/LaunchImages.launchimage/Contents.json | Delete obsolete netcoremobile head iOS asset catalog content. |
| src/SamplesApp/SamplesApp.Skia.netcoremobile/iOS/Main.iOS.cs | Delete obsolete netcoremobile head iOS entry point. |
| src/SamplesApp/SamplesApp.Skia.netcoremobile/iOS/Info.plist | Delete obsolete netcoremobile head iOS plist. |
| src/SamplesApp/SamplesApp.Skia.netcoremobile/iOS/Entitlements.plist | Delete obsolete netcoremobile head iOS entitlements. |
| src/SamplesApp/SamplesApp.Skia.netcoremobile/Assets/Splash/splash_screen.svg | Delete obsolete netcoremobile head asset. |
| src/SamplesApp/SamplesApp.Skia.netcoremobile/Assets/Lottie/uno.json | Delete obsolete netcoremobile head asset. |
| src/SamplesApp/SamplesApp.Skia.netcoremobile/Assets/Lottie/4930-checkbox-animation.json | Delete obsolete netcoremobile head asset. |
| src/SamplesApp/SamplesApp.Skia.netcoremobile/Assets/Icons/icon.svg | Delete obsolete netcoremobile head asset. |
| src/SamplesApp/SamplesApp.Skia.netcoremobile/Assets/Icons/icon_foreground.svg | Delete obsolete netcoremobile head asset. |
| src/SamplesApp/SamplesApp.Skia.netcoremobile/Assets/AboutAssets.txt | Delete obsolete netcoremobile head placeholder doc. |
| src/SamplesApp/SamplesApp.Skia.netcoremobile/Android/Resources/values/Styles.xml | Delete obsolete netcoremobile head Android resource. |
| src/SamplesApp/SamplesApp.Skia.netcoremobile/Android/Resources/values/Strings.xml | Delete obsolete netcoremobile head Android resource. |
| src/SamplesApp/SamplesApp.Skia.netcoremobile/Android/Resources/AboutResources.txt | Delete obsolete netcoremobile head placeholder doc. |
| src/SamplesApp/SamplesApp.Skia.netcoremobile/Android/MainActivity.Android.cs | Delete obsolete netcoremobile head Android activity entry point. |
| src/SamplesApp/SamplesApp.Skia.netcoremobile/Android/Main.Android.cs | Delete obsolete netcoremobile head Android application/host setup. |
| src/SamplesApp/SamplesApp.Skia.netcoremobile/Android/environment.conf | Delete obsolete netcoremobile head Android environment config. |
| src/SamplesApp/SamplesApp.Skia.netcoremobile/Android/AssemblyInfo.Android.cs | Delete obsolete netcoremobile head Android permissions assembly info. |
| src/SamplesApp/SamplesApp.Skia.netcoremobile/Android/AndroidManifest.xml | Delete obsolete netcoremobile head Android manifest. |
| src/SamplesApp/SamplesApp.Skia.Generic/SamplesApp.Skia.Generic.csproj | Delete obsolete Skia generic head project (superseded by consolidated head desktop TFM). |
| src/SamplesApp/SamplesApp.Skia.Generic/Resources/Info.plist | Delete obsolete Skia generic head macOS plist. |
| src/SamplesApp/SamplesApp.Skia.Generic/Properties/launchSettings.json | Delete obsolete Skia generic head launch settings. |
| src/SamplesApp/SamplesApp.Skia.Generic/Program.cs | Delete obsolete Skia generic head entry point. |
| src/SamplesApp/SamplesApp.Skia.Generic/Assets/Splash/splash_screen.svg | Delete obsolete Skia generic head asset. |
| src/SamplesApp/SamplesApp.Skia.Generic/Assets/Icons/icon.svg | Delete obsolete Skia generic head asset. |
| src/SamplesApp/SamplesApp.Skia.Generic/Assets/Icons/icon_foreground.svg | Delete obsolete Skia generic head asset. |
| src/SamplesApp/SamplesApp.Skia.Generic/app.manifest | Delete obsolete Skia generic head app manifest. |
| src/SamplesApp/SamplesApp.Samples/Windows_UI_Xaml_Media/Geometry/Geometry_VisualParity_Notes.md | Update instructions to reference consolidated head desktop target. |
| src/SamplesApp/SamplesApp.Samples/SamplesApp.Samples.csproj | Update project comment to reflect consolidated-head + base-lib compilation flow. |
| src/AddIns/Uno.WinUI.SpellChecking/AssemblyInfo.cs | Remove IVT entries for deleted Skia head assemblies. |
| specs/051-samplesapp-unosdk-skia/plan.md | Mark phase/task completion and document why SamplesApp.Skia base library remains. |
| doc/articles/uno-development/working-with-the-samples-apps.md | Remove local puppeteer runner guidance; keep CI snapshot guidance. |
| doc/articles/features/SpeechRecognition.md | Update contributor note/path to consolidated head desktop build output. |
| doc/articles/features/accessibility/testing-with-screen-readers.md | Update steps to run consolidated head desktop target (net11.0-desktop). |
| build/gitpod/serve-sampleapp-wasm.sh | Retarget wwwroot discovery to consolidated head wasm publish output directory. |
| build/gitpod/build-wasm.sh | Publish consolidated head with explicit WASM TFM for Gitpod flow. |
| AGENTS.md | Update sample app run command and references to old head naming. |
| .gitignore | Remove ignore entry tied to deleted SamplesApp.Wasm.UITests/out. |
| .github/workflows/codeql.yml | Retarget CodeQL manual build step to consolidated head (net11.0-desktop). |
| .claude/skills/winui-runtime-tests/SKILL.md | Update WinUI runtime-test skill docs for consolidated head + updated WinAppSDK TFM. |
| .claude/skills/winui-runtime-tests/install-msix.ps1 | Update MSIX install path to consolidated head AppPackages folder. |
| .claude/skills/winui-runtime-tests/cleanup.ps1 | Update cleanup path to consolidated head AppPackages folder. |
| .claude/skills/runtime-tests/SKILL.md | Update runtime-tests skill docs/commands to consolidated head TFMs and outputs. |
| .claude/skills/add-sample/SKILL.md | Update add-sample skill build verification command to consolidated head desktop TFM. |
Files not reviewed (1)
- src/SamplesApp/SamplesApp.Wasm.UITests/package-lock.json: Generated file
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
bbff48d to
5425f9c
Compare
|
Claude finished @MartinZikmund's task in 8m 50s —— View job PR Review: build: Remove the four superseded SamplesApp headsTasks
SummaryVerdict: ship (with minor doc fixes) This is a clean, well-scoped infrastructure deletion. The IVT drops, retargeted consumer paths, solution-filter and Verified correct:
Issues found: 3 (all low-severity, doc-only)
None of these block merge — they only affect AI-agent tooling reads of the skill files. Fix the three with the suggestions and the two missing from the previous review pass (line 46 is easy: s/ |
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-24046/wasm-skia-net9/index.html |
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-24046/docs/index.html |
|
The build 227041 found UI Test snapshots differences: Details
|
|
Claude finished @MartinZikmund's task in 6m 29s —— View job PR Review: build: Remove the four superseded SamplesApp headsTasks
SummaryVerdict: fix-first (all low-severity, doc-only) The structural changes — IVT drops, consumer path retargeting, solution filter cleanup, gitpod scripts, CodeQL step, PowerShell helper scripts — are all correct and clean. Three doc issues have now survived three consecutive review passes without being fixed; two of them have inline comments with Verified correct
Issues found: 4 (all low-severity, doc-only, AI-agent tooling only)
Lines 46 and 129 — suggested fixes (not patchable inline):
None of these four issues affects CI or runtime behaviour. They only mislead AI agents reading the skill files. |
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-24046/docs/index.html |
ddbca7c to
6547b17
Compare
|
Claude finished @MartinZikmund's task in 2m 10s —— View job PR Review: build: Remove the four superseded SamplesApp headsTasks
SummaryVerdict: ship Two new commits since the previous "ship" pass; both are correct. New commits reviewed
Moves
Narrows the
All prior findings confirmed resolved
No new findings in this pass. No inline comments posted.
|
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-24046/wasm-skia-net9/index.html |
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-24046/docs/index.html |
The class arrived upstream after the commit that removed the netcoremobile head was written, so replaying that removal left it behind in a project that no longer exists. It stays inert until an Info.plist scene manifest names it. Enabling that here made 15 multi-window tests run on iOS for the first time and two of them failed, so the switch belongs in its own change. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01AU8DEmFQHvzqx5BVqGUhUZ
Only Wasm_CustomEvent drives the DOM directly. The folder-wide exclusion also swept up Wasm_ViewportOrientationTelemetry, which landed later and is guarded for every target, dropping it from all five heads. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01AU8DEmFQHvzqx5BVqGUhUZ
6547b17 to
5079701
Compare
|
Claude finished @MartinZikmund's task in 1m 37s —— View job PR Review: build: Remove the four superseded SamplesApp headsTasks
SummaryVerdict: ship (no change since previous pass) This trigger fired on a merge commit ( All structural and correctness findings from the fourteen prior review passes remain resolved in the committed state (IVT drops, consumer path retargeting, solution filter cleanup, Resizetizer/trimmer/launch-storyboard/scene-delegate fixes, dead IVT grant sweep, stale TFM doc fixes, Playground/Monaco removal, DOM-era wasm cleanup, and the
|
Close() only respects WindowEventArgs.Handled when the platform reports SupportsClosingCancellation, and Apple UIKit reported false. Every other target that supports multiple windows reports true, because closing is a request the app can refuse; on iOS it is CloseCore that asks UIKit to destroy the scene, so a handled Closed never gets that far either. A scene disconnect is the exception: UIKit tells us after the fact, so that path suppresses cancellation while it tears the window down. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01AU8DEmFQHvzqx5BVqGUhUZ
86c3409 to
5ecc227
Compare
|
Claude finished @MartinZikmund's task in 4m 25s —— View job PR Review: build: Remove the four superseded SamplesApp headsTasks
SummaryVerdict: ship (with one non-blocking note) The only change since the previous "ship" pass is the new tip commit What it does, and why it's correct:
Non-blocking note (inline comment posted on All prior findings remain resolved (unchanged from previous pass)No new issues elsewhere; the rest of the PR (IVT drops, consumer path retargeting, solution filter cleanup, Resizetizer/trimmer/launch-storyboard fixes, dead IVT grant sweep, stale-TFM doc fixes, Playground/Monaco removal, DOM-era wasm cleanup,
|
|
Claude finished @MartinZikmund's task in 5m 11s —— View job PR Review: build: Remove the four superseded SamplesApp headsTasks
SummaryVerdict: fix-first (1 low-severity finding, non-blocking) The only new commit since the previous "ship" pass is Root cause and fix, verified correct:
Finding (inline comment posted, low severity, non-blocking):
No other issues found. All findings from the fifteen-plus prior review passes on the rest of this PR remain resolved. |
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-24046/wasm-skia-net9/index.html |
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-24046/docs/index.html |
SupportsClosingCancellation describes the platform, so a scene teardown must not flip it: any other window closed from the same call stack would have its handled Closed ignored too. The window itself now answers whether its close can still be cancelled, defaulting to the platform capability, and only the window UIKit has already disconnected opts out. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01AU8DEmFQHvzqx5BVqGUhUZ
|
Claude finished @MartinZikmund's task in 1m 12s —— View job PR Review: build: Remove the four superseded SamplesApp headsTasks
SummaryVerdict: ship The only new commit since the previous pass is What changed, and why it's correct:
This is a genuine root-cause fix (moves the "is this specific window's close still cancellable" question onto the window instance that actually knows the answer) rather than a narrower guard — it resolves the concern cleanly with no remaining edge case. No new findings. All structural work from the prior 15+ review passes on the rest of this PR remains resolved (IVT drops, consumer path retargeting, solution filter cleanup, Resizetizer/trimmer/launch-storyboard/scene-delegate fixes, dead IVT grant sweep, stale-TFM doc fixes, Playground/Monaco removal, DOM-era wasm cleanup,
|
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-24046/docs/index.html |
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-24046/wasm-skia-net9/index.html |
|
The build 231527 found UI Test snapshots differences: Details
|
GitHub Issue: relates to unoplatform/uno-private#2151 (internal: "Convert Samples app to Uno.Sdk", Platform 7.0) — follow-up to #23536, Phase 6 of
specs/051-samplesapp-unosdk-skiaPR Type:
🏗️ Build or CI related changes
What changed? 🚀
Removes the four SamplesApp heads that #23536 superseded, now that one
Uno.Sdkhead covers every target:SamplesApp.Skia.GenericSamplesApp(net11.0-desktop)SamplesApp.Skia.WebAssembly.BrowserSamplesApp(net11.0-browserwasm)SamplesApp.Skia.netcoremobileSamplesApp(net11.0-android/-ios/-tvos)SamplesApp.WindowsSamplesApp(net11.0-windows10.0.19041.0)SamplesApp.Wasm.UITests104 files, +76 / −14370.
Retargeted rather than deleted
Package.appxmanifestnow sits at the head's project root and is embedded on every non-WinUI TFM. It cannot live underPlatforms/Windows: the SDK treats eachPlatforms/<platform>/folder as belonging to that platform alone and strips it from the other target frameworks, which silently emptiedPackage.Current.DisplayNameoff windows.AlcApp/HRApp/HRUnoLibresolved their reference set fromSamplesApp.Skia.Generic/bin/$(Configuration)/$(TargetFramework). The consolidated head appends a platform to the moniker, so this is nowbin/$(Configuration)/$(NetCurrent)-desktop—$(TargetFramework)would have pointed at a folder that never exists. Worth knowing: the surrounding condition tests theSamplesAppfolder, not the bin path, so a wrong path there yields an empty reference set instead of an error.InternalsVisibleTogrants for the two deleted Skia heads dropped fromUno.UIandUno.WinUI.SpellChecking. The grants forSamplesApp.WindowsinUno.UI.CompositionandUno.UI.RuntimeTestsare deliberately kept — the head still builds its WinUI target under that assembly name, which is what keeps it out of the Toolkit/Foundation IVT lists and avoids the duplicate-internal collision. Review follow-up: also swept 23 long-dead grants (SamplesApp.iOS,SamplesApp.Droid,SamplesApp.MacOS,SamplesApp.Skia.Tizen,Uno.UI.Runtime.Skia.Tizen- none of which have a.csprojorAssemblyNameleft in the tree) across 10AssemblyInfofiles.Uno.UI.slnx,Uno.UI-Skia-only.slnfandUno.UI-Windows-only.slnf. All six filters plus the.slnxwere checked programmatically — every project path resolves./add-sample,/runtime-tests,/winui-runtime-tests(including the MSIXAppPackagespath and the WinAppSDK TFM),AGENTS.md, the CodeQL manual build step, the gitpod wasm scripts (now passing an explicit TFM, since the head is multi-targeted), and two feature docs.SamplesApp.Skiais gone too (#24048)The base library this PR originally had to keep has since been removed: the samples now compile into the head on every TFM, and the head sets
UnoRuntimeIdentifier=Skiaon every non-WinUI target. Measured onnet11.0-android(evaluated properties in the CI binlog for build 227194):So
__SKIA__and__ANDROID__now coexist, while the head's own.Android.cs/.iOS.csentry points still compile - the suffix gates key off$(IsAndroid)/$(IsAppleUIKit), not the runtime identifier. (__UNO_SKIA__and__SKIA__are not the same switch: the former comes from theUno.UI.Runtime.Skia.*package props and only marks the host, the latter comes fromUno.CrossTargetting.targetsviaUnoRuntimeIdentifierand also selects the.skia.csfile variants.)That made the platform
#ifbranches in sample pages live for the first time. Build 227194 caught the fallout, fixed here:IL1034: Root assembly 'SamplesApp' does not have entry pointUnoXamlResourcesTrimmingreached a real head for the first time, so_UnoLinkerHintsPass1ran ILLink with-a SamplesApp entrypoint- an android app assembly has no managed entry pointUnoXamlResourcesTrimming=falseon android;Uno.GenerateAot.targetsalready does the same for NativeAOTFailed to find published file: Uno.Fonts.Fluent/Fonts/uno-fluentui-assets.ttf$(PublishDir)only ever existed because the fonts arrived through theSamplesApp.Skiaproject reference; ms-appx assets owned by the head itself only land in the wasm package folder$(OutputPath)publish/wwwroot/package_<hash>/, which is what is actually served and what CI ships as the artifactCS0029/CS1061on native UIKit APIs, plusIL2xxxraised as errorsNoWarnset that wasm and android haveUIViewController/TextBox.KeyboardAppearance; gave iOS/tvOS the sameNoWarnsetValidation
Built clean on this branch:
net10.0-desktopdotnet buildnet10.0-browserwasmdotnet buildnet10.0-androiddotnet buildnet10.0-windows10.0.19041.0MSBuild.exe -rSamplesApp.Windows.dllas designed)Plus: every
.slnfand the.slnxverified to contain no dangling project paths, and a repo-wide sweep for references to the removed projects (excluding theSamplesApp.Windows_UI_Xaml*namespace prefix, which is a false-positive trap).Two known leftovers, both deliberate:
Platforms/WebAssembly/aot.profileis a binary blob that still embeds an old head name (AOT hit-rate only), andspecs/keeps its historical references.PR Checklist ✅
Screenshots Compare Test Runresults (pending CI)