Skip to content

refactor!: Make the Uno.Sdk the only supported app project format - #24185

Merged
MartinZikmund merged 12 commits into
masterfrom
dev/mazi/2063-nonsdk
Oct 10, 2026
Merged

MartinZikmund merged 12 commits into
masterfrom
dev/mazi/2063-nonsdk

Conversation

@MartinZikmund

@MartinZikmund MartinZikmund commented Aug 24, 2026 •

Copy link
Copy Markdown
Member

GitHub Issue: closes unoplatform/uno-private#2063 (internal: "Remove support for non-Sdk projects", Platform 7.0) — part of #8339

PR Type:

💥 Breaking change (project system)

What changed? 🚀

The Uno.Sdk becomes the only supported way to build an Uno Platform application. The legacy project format — a plain Microsoft.NET.Sdk project that gets Uno behaviour from a PackageReference to Uno.WinUI, with one head project per platform — is removed.

Two flavours existed, and both go:

Removed Where it lived
The 5.1-and-earlier SingleProject property and the item layout it enabled build/nuget/uno.winui.single-project.targets, imported from uno.winui.targets when $(SingleProject) == 'true'
UWP heads (uap10.0.*) build/nuget/uno.winui.win.targets, shipped only into buildTransitive/uap10.0.*
The SingleProject alias inside the SDK _IsUnoSingleProjectAndLegacy → _IsUnoSingleProject, keyed on UnoSingleProject alone
Head-name sniffing Sdk.props' .Wasm/.WebAssembly → Microsoft.NET.Sdk.Web rule; Uno.Implicit.Packages.ProjectSystem.Legacy.targets and its C# twin, both keyed on a project named *.Skia.Linux.FrameBuffer
The multi-head template fixtures src/SolutionTemplate/{UnoAppWinUI,UnoAppWinUILinuxValidation,MyAppXamlTrim} (.Mobile, .Wasm, .Skia.Gtk, .Windows, .UWP, .Shared)

Two new diagnostics

  • UNOB0029 — an application head (Exe/WinExe) referencing Uno.WinUI without the Uno.Sdk fails with one actionable message linking the migration guide, instead of a wall of missing-target errors. The check can only see OutputType, so an executable that merely links Uno.WinUI (a console harness, a benchmark runner) trips it as well; UnoDisableUNOB0029Validation opts out, mirroring the existing UnoDisableUNOB0002Validation.
  • UNOB0022 — SingleProject no longer selects the single-project layout, so an Uno.Sdk project still spelling it would have silently built as a non-single-project. It now errors and says to rename it to UnoSingleProject.

The Uno.Sdk requirement uses UNOB0029: master took UNOB0021 for the implicit-package manifest error and UNOB0028 for the splash-screen and optional-package diagnostics, #24186 holds UNOB0020 and UNOB0023–UNOB0026, and master holds UNOB0027. That PR and this one both touch uno-build-error-codes.md; the codes do not collide.

Deliberately not done

  • Class libraries and test projects keep working. A plain Microsoft.NET.Sdk library with a PackageReference to Uno.WinUI stays supported, which is why UNOB0029 is scoped to Exe/WinExe (test projects excluded via IsTestProject, since Microsoft.NET.Test.Sdk makes them Exe) — most third-party and satellite Uno libraries are built that way. The issue is phrased in terms of app project formats. If libraries should move too, that is a separate diagnostic and a separate breaking-change entry. The MyUnoLib / MyUnoLib2 / MyCrossRuntimeLib fixtures stay for the same reason.
  • The rest of build/nuget stays. uno.winui.props/targets, uno.winui.common.props/targets, uno.winui.cross-runtime.targets, uno.winui.runtime-replace.targets and uno.winui.winappsdk.targets are imported by every Uno.WinUI consumer, Uno.Sdk apps included — uno.winui.common.targets is the only delivery path for Uno.UI.SourceGenerators.props and Uno.UI.Tasks.targets. Likewise UnoRuntimeIdentifier / uno-runtime asset selection, which is Skia/WASM machinery, not head plumbing.
  • No in-repo project was migrated to Uno.Sdk. The issue's "migrate internal samples/tests" line over-specifies: src/SamplesApp/**, src/Uno.UI.RuntimeTests/** and friends consume the framework by ProjectReference, not by package — under Uno.Sdk they would resolve published packages instead of the bits they exist to validate. The samples-app move to Uno.Sdk already happened separately (uno-private#2151/Add support for package override warning #2152).
  • The seven Uno.SingleProject.*.targets files stay. "SingleProject" in those filenames is a naming coincidence with the legacy property; they implement the modern Platforms\ layout.

Consumer impact review (after rebase on master, 2026-10-10)

Consumer Effect
Uno.Sdk app (UnoSingleProject=true, the template default) None. _IsUnoSingleProject evaluates as before; UNOB0029 is skipped via UsingUnoSdk.
Template *.Server project (Microsoft.NET.Sdk.Web, Exe) None. Verified on a generated -server / -server -maui app (Uno.Templates 6.7.30): Uno.WinUI does not flow to it, so uno.winui.common.targets is never imported.
Uno.Sdk library None.
Non-Uno.Sdk library (Microsoft.NET.Sdk + Uno.WinUI) None. UNOB0029 is Exe/WinExe-only; the template's MauiControls library sets SingleProject but has no Uno.WinUI reference.

Edge cases, all from the 5.0/5.1-era Uno.Sdk multi-head template:

  • .Mobile heads with <SingleProject>true now fail with UNOB0022. Renaming to UnoSingleProject restores the previous behaviour exactly: without a Platforms\ folder the SDK falls back to the flat Android\ / iOS\ folders.
  • Uno.Sdk heads named *.Wasm / *.WebAssembly without UnoSingleProject silently move from Microsoft.NET.Sdk.Web to Microsoft.NET.Sdk, because the name-based rule in Sdk.props is gone. There is no diagnostic for this (the match was case-sensitive, so *.wasm names were never affected). Roughly 24 public repos, none prominent; Uno.Samples/UI/PhotoViewer is one.
  • Projects setting both SingleProject and UnoSingleProject with mauiembedding no longer get Microsoft.Maui.Controls.Build.Tasks implicitly (see Follow-ups).

Known first-party projects still on the legacy format, which will need migrating before they move to 7.0: unoplatform/Uno.Samples (~49 .Skia.Gtk heads plus matching .Wasm / .Mobile), uno.todo, the Uno.SQLitePCLRaw.Wasm sample, performance, and several private repos (Studio, Figma plugin editor, private samples, Extensions runtime-test heads). The most prominent community projects (Prism, SkiaSharp, LiveCharts2, NuGetPackageExplorer, Mapsui, velopack) are already on the Uno.Sdk.

Validation

Check Result
SamplesApp (Uno.Sdk head, net11.0-desktop) build ✅ 0 errors, 0 warnings — before and after
dotnet restore src/Uno.UI-Skia-only.slnf ✅ zero MSB4019; remaining failures are the missing android/wasm workloads for the .NET 11 preview SDK, present on the base commit too
Rebase on master (2c706a83b1d), dotnet build src/Uno.Sdk/Uno.Sdk.csproj ✅ 0 errors; one conflict — master added HarfBuzz to the deleted FrameBuffer-only Uno.Implicit.Packages.ProjectSystem.Legacy.targets, deletion kept
UNOB0029 fires for a legacy Exe head ✅ (probe importing the real uno.winui.common.targets)
UNOB0029 silent for an Uno.Sdk head, for a Library, and under UnoDisableUNOB0029Validation ✅ all three build clean
UNOB0029 silent for a test project (Microsoft.NET.Test.Sdk makes it Exe and sets IsTestProject; Uno.WinUI reaches it transitively through a referenced Uno project) ✅ fires before the IsTestProject exclusion, silent after
UNOB0022 fires on SingleProject=true without UnoSingleProject ✅
dotnet build src/Uno.Sdk/Uno.Sdk.csproj ✅ 0 errors
dotnet format --verify-no-changes on the changed C# ✅ no changes
doc/articles/check_toc.ps1 ✅ no bad links
PowerShell parse of the edited template-test script ✅

Not validated here: the template-test CI jobs are all condition: false on feature/breakingchanges (the pre-7.0 Uno assembly dependency chain), so the src/SolutionTemplate deletions and the Uno.Sdk changes get no CI coverage in this PR. Whoever re-enables those jobs exercises this first.

Follow-ups (not in this PR)

  • Decide whether Uno.Sdk heads named *.Wasm without UnoSingleProject deserve a diagnostic, or just a line in the 7.0 migration guide.
  • Register the aka.platform.uno/UNOB0029 and /UNOB0022 redirects before 7.0 ships — the diagnostics link them.
  • Uno.ResourceTrimmingValidator lost its only caller with MyAppXamlTrim. The .upri include/exclude assertions should be re-homed onto a live Uno.Sdk row (5.6/uno56netcurrent already builds with UnoXamlResourcesTrimming=true but asserts nothing), or the tool retired deliberately.
  • Uno.Extensions.Implicit.Packages.ProjectSystem.targets injected Microsoft.Maui.Controls.Build.Tasks only under the raw SingleProject, so modern mauiembedding heads never received it. The line is removed here, which preserves today's behaviour exactly; whether those heads should get it is an Extensions decision, not a mechanical rename.
  • Nothing in-repo builds against Uno.WinUI.Runtime.Skia.Linux.FrameBuffer any more.
  • The ProjectTypeGuids legacy branches in Uno.UI.Tasks.targets / uno.ui.tasks.assets.targets are genuinely legacy-only, but they drive the asset/PRI pipeline for every consumer and deserve their own PR with an assets round-trip test.
  • uno.winui.cross-runtime.targets duplicates uno.winui.common.targets lines 90-166 verbatim, and both are imported — three targets are silently defined twice.

PR Checklist ✅

  • 🧪 Added Runtime tests, UI tests, or a manual test sample (for bug fixes / features, if applicable) — not applicable: build-system change with no runtime surface. Validated by the builds, the MSBuild item-set comparison and the diagnostic probes in the table above.
  • 📚 Docs have been added/updated following the documentation template (for bug fixes / features)
  • 🖼️ Validated PR Screenshots Compare Test Run results. — pending the first CI run
  • ❗ Contains NO breaking changes
  • 👀 Reviewed 2 other open pull requests (optional but appreciated!)

Breaking change impact and migration path

Applications on the legacy project format no longer build. They must become a single Sdk="Uno.Sdk" project; Migrating Projects to Single Project is the step-by-step path, and the 7.0 migration guide gained a matching section. UNOB0029 and UNOB0022 point at both. Class libraries and Windows App SDK heads are unaffected.

🤖 Generated with Claude Code

https://claude.ai/code/session_01TkmzHzEzSGmbD66HKNhQHi

Copilot AI lite review requested due to automatic review settings August 24, 2026 18:56
@github-actions github-actions Bot added platform/android 🤖 Categorizes an issue or PR as relevant to the Android platform platform/ios 🍎 Categorizes an issue or PR as relevant to the iOS platform area/solution-templates Categorizes an issue or PR as relevant to the solution template area/build Categorizes an issue or PR as relevant to build infrastructure area/automation Categorizes an issue or PR as relevant to project automation kind/documentation area/sdk Categorizes an issue or PR as relevant to the Uno.Sdk labels Aug 24, 2026
@github-actions

github-actions Bot commented Aug 24, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 9m 6s —— View job


PR Review: refactor! Make the Uno.Sdk the only supported app project format

Tasks:

  • Load tools and set up review
  • Read git diff to understand changes
  • Review build/nuget changes (UNOB0021)
  • Review new diagnostics (UNOB0021, UNOB0022)
  • Review SamplesApp.Skia.netcoremobile changes
  • Review documentation changes
  • Review template test script changes
  • Post inline comments for findings
  • Post summary

Overall verdict: ship (2 minor findings, 0 blockers)

This is a well-scoped, well-documented breaking change. The deletions are thorough (no stale imports of removed files remain), the two new diagnostics are correctly conditioned, and the SamplesApp.Skia.netcoremobile rescue was handled correctly.

Findings (2 total — 0 blocking, 2 minor)

1 — Dead code in test script (run-netcore-mobile-template-tests.ps1:36) — The new outer if ($IsWindows) guard wraps a block that already contains if (!$IsWindows), making MyCrossRuntimeLib permanently unreachable. Pre-existing, but the cleanup here is the right moment to address it.

2 — Case-sensitive OutputType comparison in UNOB0021 (uno.winui.common.targets:47) — The condition '$(OutputType)'=='Exe' is case-sensitive; <OutputType>exe</OutputType> would silently bypass the diagnostic. Same pattern exists in the older UNOB0001, but worth fixing at the diagnostic gate that is the primary enforcement point for this breaking change.

Cross-cutting notes

  • UNOB0021 scoping is correct: uno.winui.common.targets is not imported for WinAppSDK heads ($(_UnoIsWinAppSDKDefined)==true), and $(UsingUnoSdk) short-circuits it for Uno.Sdk projects. SamplesApp.Skia.netcoremobile uses ProjectReference, not a NuGet PackageReference, so it never imports this file — no false positive on the in-repo head.
  • platform-folders.targets item sets validated: The PR's byte-identical comparison claim is credible — the property renames (_UnoiOSExcludes instead of _SingleProjectiOSExcludes) and dropped Windows section are both correct for this head's targets.
  • UNOB0022 placement is correct: Lives in Uno.Build.targets (Uno.Sdk only), fires only when SingleProject==true AND UnoSingleProject!=true, and has no disable switch (correct — there is no valid use of the old property name that wouldn't be trivially renamed).
  • _IsUnoSingleProjectAndLegacy → _IsUnoSingleProject rename is complete across all targets files; no stale references found.
  • Uno.ResourceTrimmingValidator now has no in-repo callers — correctly acknowledged in the PR's follow-ups.
  • Conventional Commits ✅ All five commits follow the format.

Comment thread build/nuget/uno.winui.common.targets Resolved

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This breaking-change PR makes Uno.Sdk the only supported application project format, removes legacy project and template support, and adds migration diagnostics.

Changes:

  • Removes legacy single-project, UWP, and multi-head template support.
  • Adds UNOB0021 and UNOB0022 diagnostics and migration documentation.
  • Restores mobile sample item handling after removing the legacy target import.

A critical issue remains: UNOB0021 can incorrectly reject Windows App SDK WinExe projects because the validation lacks a WinAppSDK exclusion.

Reviewed changes

Copilot reviewed 126 out of 193 changed files in this pull request and generated 1 comment.

Show a summary per file
File Summary
src/Uno.Sdk/UnoTarget.cs Removes the legacy framebuffer target constant.
src/Uno.Sdk/Tasks/ImplicitPackagesResolver.cs Removes project-name/runtime sniffing.
src/Uno.Sdk/targets/Uno.ProjectCapabilities.WinAppSdk.targets Updates WinAppSDK capability handling.
src/Uno.Sdk/targets/Uno.ProjectCapabilities.targets Updates project capability handling.
src/Uno.Sdk/targets/Uno.Implicit.Packages.targets Updates implicit package handling.
src/Uno.Sdk/targets/Uno.Implicit.Packages.ProjectSystem.targets Updates project-system package handling.
src/Uno.Sdk/targets/Uno.Implicit.Packages.ProjectSystem.Legacy.targets Removes legacy project-system handling.
src/Uno.Sdk/targets/Uno.Extensions.Implicit.Packages.ProjectSystem.targets Updates extension project-system integration.
src/Uno.Sdk/targets/Uno.DefaultItems.targets Updates default item handling.
src/Uno.Sdk/targets/Uno.DefaultItems.Resizetizer.targets Updates Resizetizer default items.
src/Uno.Sdk/targets/Uno.Common.WinAppSdk.targets Updates WinAppSDK common targets.
src/Uno.Sdk/targets/Uno.Common.Wasm.targets Updates WASM common targets.
src/Uno.Sdk/targets/Uno.Common.targets Uses UnoSingleProject exclusively.
src/Uno.Sdk/targets/Uno.Common.iOS.targets Updates iOS common targets.
src/Uno.Sdk/targets/Uno.Common.Android.targets Updates Android common targets.
src/Uno.Sdk/targets/Uno.Build.targets Adds UNOB0022 validation.
src/Uno.Sdk/Sdk/Sdk.props Updates SDK identification and behavior.
src/SolutionTemplate/UnoAppWinUILinuxValidation/UnoAppWinUILinuxValidation/UnoAppWinUILinuxValidation.csproj Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUILinuxValidation/UnoAppWinUILinuxValidation/Strings/en/Resources.resw Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUILinuxValidation/UnoAppWinUILinuxValidation/MainPage.xaml.cs Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUILinuxValidation/UnoAppWinUILinuxValidation/MainPage.xaml Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUILinuxValidation/UnoAppWinUILinuxValidation/AppResources.xaml Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUILinuxValidation/UnoAppWinUILinuxValidation/App.cs Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUILinuxValidation/UnoAppWinUILinuxValidation.Windows/UnoAppWinUILinuxValidation.Windows.csproj Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUILinuxValidation/UnoAppWinUILinuxValidation.Windows/Properties/PublishProfiles/win-x86.pubxml Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUILinuxValidation/UnoAppWinUILinuxValidation.Windows/Properties/PublishProfiles/win-x64.pubxml Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUILinuxValidation/UnoAppWinUILinuxValidation.Windows/Properties/PublishProfiles/win-arm64.pubxml Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUILinuxValidation/UnoAppWinUILinuxValidation.Windows/Properties/launchSettings.json Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUILinuxValidation/UnoAppWinUILinuxValidation.Windows/Package.appxmanifest Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUILinuxValidation/UnoAppWinUILinuxValidation.Windows/app.manifest Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUILinuxValidation/UnoAppWinUILinuxValidation.Skia.Linux.FrameBuffer/UnoAppWinUILinuxValidation.Skia.Linux.FrameBuffer.csproj Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUILinuxValidation/UnoAppWinUILinuxValidation.Skia.Linux.FrameBuffer/Program.cs Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUILinuxValidation/UnoAppWinUILinuxValidation.Base/base.props Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUILinuxValidation/UnoAppWinUILinuxValidation.Base/AppHead.xaml.cs Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUILinuxValidation/UnoAppWinUILinuxValidation.Base/AppHead.xaml Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUILinuxValidation/UnoAppWinUILinuxValidation-vsmac.slnf Removes legacy template fixture metadata.
src/SolutionTemplate/UnoAppWinUILinuxValidation/.vsconfig Removes legacy template fixture metadata.
src/SolutionTemplate/UnoAppWinUI/UnoAppWinUI/UnoAppWinUI.csproj Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUI/UnoAppWinUI/Strings/en/Resources.resw Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUI/UnoAppWinUI/MainPage.xaml.cs Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUI/UnoAppWinUI/MainPage.xaml Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUI/UnoAppWinUI/AppResources.xaml Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUI/UnoAppWinUI/App.cs Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUI/UnoAppWinUI.Windows/UnoAppWinUI.Windows.csproj Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUI/UnoAppWinUI.Windows/Properties/PublishProfiles/win-x86.pubxml Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUI/UnoAppWinUI.Windows/Properties/PublishProfiles/win-x64.pubxml Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUI/UnoAppWinUI.Windows/Properties/PublishProfiles/win-arm64.pubxml Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUI/UnoAppWinUI.Windows/Properties/launchSettings.json Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUI/UnoAppWinUI.Windows/Package.appxmanifest Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUI/UnoAppWinUI.Windows/app.manifest Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUI/UnoAppWinUI.Skia.Linux.FrameBuffer/UnoAppWinUI.Skia.Linux.FrameBuffer.csproj Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUI/UnoAppWinUI.Skia.Linux.FrameBuffer/Program.cs Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUI/UnoAppWinUI.Skia.Gtk/UnoAppWinUI.Skia.Gtk.csproj Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUI/UnoAppWinUI.Mobile/UnoAppWinUI.Mobile.csproj Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUI/UnoAppWinUI.Mobile/iOS/Media.xcassets/LaunchImages.launchimage/Contents.json Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUI/UnoAppWinUI.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Contents.json Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUI/UnoAppWinUI.Mobile/iOS/Main.iOS.cs Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUI/UnoAppWinUI.Mobile/iOS/LaunchScreen.storyboard Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUI/UnoAppWinUI.Mobile/iOS/Info.plist Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUI/UnoAppWinUI.Mobile/iOS/Entitlements.plist Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUI/UnoAppWinUI.Mobile/Android/Resources/values/Styles.xml Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUI/UnoAppWinUI.Mobile/Android/Resources/values/Strings.xml Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUI/UnoAppWinUI.Mobile/Android/Resources/AboutResources.txt Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUI/UnoAppWinUI.Mobile/Android/MainActivity.Android.cs Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUI/UnoAppWinUI.Mobile/Android/Main.Android.cs Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUI/UnoAppWinUI.Mobile/Android/environment.conf Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUI/UnoAppWinUI.Mobile/Android/Assets/AboutAssets.txt Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUI/UnoAppWinUI.Mobile/Android/AndroidManifest.xml Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUI/UnoAppWinUI.Base/base.props Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUI/UnoAppWinUI.Base/AppHead.xaml.cs Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUI/UnoAppWinUI.Base/AppHead.xaml Removes legacy template fixture.
src/SolutionTemplate/UnoAppWinUI/UnoAppWinUI-vsmac.slnf Removes legacy template fixture metadata.
src/SolutionTemplate/UnoAppWinUI/.vsconfig Removes legacy template fixture metadata.
src/SolutionTemplate/MyAppXamlTrim/UnoSolutionTemplate.netcore.csproj Removes obsolete template fixture.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim.Wasm/wwwroot/web.config Removes obsolete template fixture.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim.Wasm/WasmScripts/AppManifest.js Removes obsolete template fixture.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim.Wasm/WasmCSS/Fonts.css Removes obsolete template fixture.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim.Wasm/Program.cs Removes obsolete template fixture.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim.Wasm/MyAppXamlTrim.Wasm.csproj Removes obsolete template fixture.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim.Wasm/LinkerConfig.xml Removes obsolete template fixture.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim.UWP/Properties/Default.rd.xml Removes obsolete template fixture.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim.UWP/Properties/AssemblyInfo.cs Removes obsolete template fixture.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim.UWP/Package.appxmanifest Removes obsolete template fixture.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim.UWP/MyAppXamlTrim.Uwp.csproj Removes obsolete template fixture.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim.Skia.Linux.FrameBuffer/Program.cs Removes obsolete template fixture.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim.Skia.Linux.FrameBuffer/MyAppXamlTrim.Skia.Linux.FrameBuffer.csproj Removes obsolete template fixture.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim.Shared/Strings/fr/Resources.resw Removes obsolete template fixture.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim.Shared/Strings/en/Resources.resw Removes obsolete template fixture.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim.Shared/MyAppXamlTrim.Shared.shproj Removes obsolete template fixture.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim.Shared/MyAppXamlTrim.Shared.projitems Removes obsolete template fixture.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim.Shared/MainPage.xaml.cs Removes obsolete template fixture.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim.Shared/MainPage.xaml Removes obsolete template fixture.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim.Shared/Assets/SharedAssets.md Removes obsolete template fixture.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim.Shared/App.xaml.cs Removes obsolete template fixture.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim.Shared/App.xaml Removes obsolete template fixture.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim.Mobile/MyAppXamlTrim.Mobile.csproj Removes obsolete template fixture.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim.Mobile/iOS/Media.xcassets/LaunchImages.launchimage/Contents.json Removes obsolete template fixture.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Contents.json Removes obsolete template fixture.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim.Mobile/iOS/Main.iOS.cs Removes obsolete template fixture.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim.Mobile/iOS/LaunchScreen.storyboard Removes obsolete template fixture.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim.Mobile/iOS/Info.plist Removes obsolete template fixture.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim.Mobile/iOS/Entitlements.plist Removes obsolete template fixture.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim.Mobile/Android/Resources/values/Styles.xml Removes obsolete template fixture.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim.Mobile/Android/Resources/values/Strings.xml Removes obsolete template fixture.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim.Mobile/Android/Resources/AboutResources.txt Removes obsolete template fixture.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim.Mobile/Android/MainActivity.Android.cs Removes obsolete template fixture.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim.Mobile/Android/Main.Android.cs Removes obsolete template fixture.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim.Mobile/Android/environment.conf Removes obsolete template fixture.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim.Mobile/Android/Assets/AboutAssets.txt Removes obsolete template fixture.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim.Mobile/Android/AndroidManifest.xml Removes obsolete template fixture.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim-vsmac.slnf Removes obsolete template fixture metadata.
src/SolutionTemplate/MyAppXamlTrim/.vsconfig Removes obsolete template fixture metadata.
src/SamplesApp/SamplesApp.Skia.netcoremobile/SamplesApp.Skia.netcoremobile.csproj Replaces the deleted target import while preserving item globs.
doc/articles/uno-build-error-codes.md Documents UNOB0021 and UNOB0022.
doc/articles/migrating-to-uno-7.md Documents the breaking change.
doc/articles/migrating-to-single-project.md Updates migration guidance.
doc/articles/migrating-from-previous-releases.md Updates previous-release migration guidance.
build/test-scripts/run-netcore-mobile-template-tests.ps1 Removes obsolete template tests.
build/nuget/uno.winui.win.targets Removes UWP target delivery.
build/nuget/uno.winui.targets Removes legacy target routing.
build/nuget/Uno.WinUI.nuspec Removes obsolete packaged assets.
build/nuget/uno.winui.common.targets Adds UNOB0021 validation; requires a WinAppSDK exclusion.
Suppressed comments (2)

build/test-scripts/run-netcore-mobile-template-tests.ps1:33

  • Removing the old template invocations here also removes the only in-repo caller of Uno.ResourceTrimmingValidator and its include/exclude .upri assertions. The remaining trimming entries elsewhere in this script only assert build/publish exit codes, so resource-trimming regressions can pass unnoticed. Please re-home those assertions on a live Uno.Sdk row or delete/retire the validator in the same change.
    build/test-scripts/run-netcore-mobile-template-tests.ps1:40
  • After the multi-head/UWP fixtures are removed, the remaining MyUnoLib/asset-library checks are still gated by TestGroup == 0 and UWPBuildEnabled. The current template-test matrices invoke this script only with groups 1–4 (and the Linux pipeline uses the other script), so these retained library fixtures are no longer exercised. Move the library checks to an active group or update the matrix/gating so the supported-library contract remains covered.

if ( ($TestGroup -eq 0) -and ($env:UWPBuildEnabled -eq 'True') )
{
    if ($IsWindows)
    {
        # Uno Library
        # Mobile is removed for now, until we can get net7 supported by msbuild/VS 17.4
        $responseFile = @(

Comment thread build/nuget/uno.winui.common.targets Resolved
@MartinZikmund
MartinZikmund changed the base branch from feature/breakingchanges to master September 2, 2026 20:02
Copilot AI review requested due to automatic review settings September 2, 2026 20:30
@github-actions

github-actions Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 3m 30s —— View job


PR Review: refactor! Make the Uno.Sdk the only supported app project format

Tasks:

  • Diff the current branch against origin/master
  • Review the new UNOB0021/UNOB0022 diagnostics
  • Review the _IsUnoSingleProjectAndLegacy → _IsUnoSingleProject rename across Uno.Sdk targets
  • Review ImplicitPackagesResolver.cs (removed SingleProject/ProjectName/TargetRuntime)
  • Review docs (uno-build-error-codes.md, migrating-to-uno-7.md, migrating-to-single-project.md, migrating-from-previous-releases.md)
  • Review run-netcore-mobile-template-tests.ps1 cleanup
  • Post inline comments for findings
  • Post summary

Overall verdict: ship (2 findings, both minor/pre-existing, 0 blockers)

Note: the diff currently on this branch (origin/master...HEAD, 192 files, +120/-5137) no longer includes the SamplesApp.Skia.netcoremobile rescue or platform-folders.targets described in the PR body — that project doesn't exist in this checkout. The PR body appears to describe an earlier/broader version of this change; this review is against the code as it stands now.

Findings (2 total — 0 blocking, 2 minor, both carried over from the earlier review pass and still unresolved)

  1. build/nuget/uno.winui.common.targets:47 — UNOB0021's OutputType comparison is case-sensitive, so <OutputType>exe</OutputType> silently bypasses the new diagnostic.
  2. build/test-scripts/run-netcore-mobile-template-tests.ps1:36 — the new outer if ($IsWindows) guard makes the MyCrossRuntimeLib block (an inner if (!$IsWindows)) permanently unreachable dead code.

Cross-cutting notes (not filed as inline findings)

  • WinAppSDK exclusion for UNOB0021 is actually correct, contrary to a suggestion in the earlier Copilot review: uno.winui.common.targets isn't auto-imported by NuGet convention (only uno.winui.targets is, matching the package id) — it's brought in solely via the explicit <Import Condition="'$(_UnoIsWinAppSDKDefined)'!='true'"> in uno.winui.targets. So a legacy WinAppSDK head never imports this file at all, and the code comment added at uno.winui.common.targets:36-42 documenting this is accurate.
  • Rename consistency: _IsUnoSingleProjectAndLegacy → _IsUnoSingleProject is complete across all touched Uno.Sdk targets files, with Uno.Common.targets now keying it on UnoSingleProject alone (dropping the SingleProject fallback), matching the new UNOB0022 diagnostic's intent.
  • ImplicitPackagesResolver.cs: removal of SingleProject, ProjectName, and TargetRuntime is clean — no dangling references to the deleted UnoTarget.SkiaLinuxFramebuffer constant remain anywhere in src/Uno.Sdk.
  • Conventional Commits: all 4 commits on the branch follow the format (refactor(sdk)!, refactor(build)!, build:, docs:).
  • Docs: the new UNOB0021/UNOB0022 sections' xref anchors match the DocFX-generated heading slugs, and the migration guide cross-references are consistent both directions.

Branch: dev/mazi/2063-nonsdk

Comment thread build/nuget/uno.winui.common.targets Resolved

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

It introduces at least one user-facing diagnostic message issue (UNOB0022 text encoding) and a logic inconsistency in the template test script that should be corrected before merge.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review details
  • Files reviewed: 125/192 changed files
  • Comments generated: 2
  • Review effort level: Lite

Comment thread src/Uno.Sdk/targets/Uno.Build.targets Resolved
Copilot AI review requested due to automatic review settings September 10, 2026 06:40

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions

github-actions Bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 15s —— View job


PR Review: Make the Uno.Sdk the only supported app project format

Verdict: ship (0 blockers, 0 inline findings, 1 description nit)

Scope: inspection and grep of the branch at 6de4e93a. I did not build or run anything.

What I checked

  • The Uno.Sdk-requirement diagnostic now uses UNOB0029 consistently. No stale reference to it remains under UNOB0021 or UNOB0028 in build/nuget, migrating-to-uno-7.md or migrating-to-single-project.md.
  • The one remaining UNOB0028 hit is the UnoSplashScreenColor diagnostic that master owns (migrating-to-uno-7.md:1447). It is unrelated.
  • _IsUnoSingleProjectAndLegacy, uno.winui.single-project.targets and uno.winui.win.targets have no references left outside doc/.
  • Earlier findings stay resolved: the tvOS import (9532645e), the UNOB0026 closing fence, the IsTestProject exclusion and the dead script block.

Description nit (no code change): the PR body still calls the diagnostic UNOB0028 in several places. It should say UNOB0029 in the diagnostics list, the validation table, "Deliberately not done", the redirect follow-up and the migration section. This matters most for the aka.platform.uno follow-up, because registering /UNOB0028 would collide with the splash-screen diagnostic's redirect.

Open items

  • UI snapshot diffs: the latest build (238668) reports 118 differences on skia-linux-screenshots and 1174 on skia-windows-screenshots. This PR changes no runtime code, so I'd expect a baseline or infrastructure cause. Please confirm that against the master baseline before merge, and tick the "Screenshots Compare Test Run" checklist item only once that is clear.
  • No CI coverage: the template-test jobs are still disabled, so the SolutionTemplate deletions and the Uno.Sdk target changes are not exercised in this PR.
  • No regression test: the new diagnostics and the tvOS import have no checked-in regression test. The author has already deferred this to a follow-up.
    · Branch: dev/mazi/2063-nonsdk

@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

Copilot AI lite review requested due to automatic review settings October 10, 2026 13:09

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions

github-actions Bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

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


PR Review: Make the Uno.Sdk the only supported app project format

Verdict: ship (0 blockers, 0 inline findings, 1 description nit)

Scope: inspection and grep of the branch at 8a704649 (12 commits vs origin/master). I did not build or run anything.

Checked

  • The Uno.Sdk-requirement diagnostic uses UNOB0029 consistently in build/nuget/uno.winui.common.targets: the error code, HelpLink, message text, opt-out property UnoDisableUNOB0029Validation, and the comment. The IsTestProject exclusion is still there.
  • _IsUnoSingleProjectAndLegacy has no remaining references in build or src/Uno.Sdk.
  • The only UNOB0021 hit in src/Uno.Sdk is ImplicitPackagesResolver.cs:404. That is the master-owned implicit-package manifest error and is unrelated.
  • Earlier findings stay resolved: the tvOS import, the UNOB0026 closing fence, the dead script block and the Split('-')[0] simplification.
  • The OutputType case-sensitivity and %24 escaping threads were already shown to be non-issues. MSBuild condition comparisons are case-insensitive, and %24 is the correct escape.

Description nit (no code change): the PR body still says UNOB0028 in several places. It should say UNOB0029 in:

  • the diagnostics list and its note
  • the validation table
  • "Deliberately not done"
  • the redirect follow-up
  • the migration section

This matters most for the aka.platform.uno follow-up. Registering /UNOB0028 would collide with the splash-screen diagnostic's redirect.

Open items

  • Screenshot diffs: build 238668 reports 118 differences on skia-linux-screenshots and 1174 on skia-windows-screenshots. This PR changes no runtime code, so I'd expect a baseline or infrastructure cause. Please confirm against the master baseline before ticking the "Screenshots Compare Test Run" box.
  • No CI coverage: the template-test jobs are still disabled, so the SolutionTemplate deletions and the Uno.Sdk target changes are not exercised in this PR.
  • No regression test: the new diagnostics and the tvOS import have no checked-in regression test. The author has deferred this to a follow-up.
    · Branch: dev/mazi/2063-nonsdk

@unodevops

Copy link
Copy Markdown
Contributor

MartinZikmund and others added 12 commits October 10, 2026 16:39
The Uno.Sdk carried a compatibility layer for the 5.1-and-earlier project
format: the `SingleProject` property (superseded by `UnoSingleProject`), the
per-platform head layout it enabled, and head-name sniffing. Uno Platform 7.0
supports only Uno.Sdk projects, so the layer is removed:

- `_IsUnoSingleProjectAndLegacy` becomes `_IsUnoSingleProject`, keyed on
  `UnoSingleProject` alone.
- `Sdk.props` no longer picks `Microsoft.NET.Sdk.Web` from a `.Wasm`/
  `.WebAssembly` project name.
- `Uno.Implicit.Packages.ProjectSystem.Legacy.targets`, which only ever fired
  for a head project literally named `*.Skia.Linux.FrameBuffer`, is deleted —
  along with its C# twin in `ImplicitPackagesResolver`, whose `TargetRuntime`
  field nothing read, the `ProjectName` input feeding it, and the
  `UnoTarget.SkiaLinuxFramebuffer` constant.
- `ImplicitPackagesResolver.SingleProject` was likewise never read; it and the
  MSBuild attribute feeding it are gone.
- A new UNOB0022 error tells anyone still setting `SingleProject` to rename it,
  rather than silently building the project as a non-single-project one.

The `Msix` project capability on the WinAppSDK target framework keeps being
added for every head: the single-project capabilities file only covers ios and
android, so gating it on the single-project flag would have dropped it.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01TkmzHzEzSGmbD66HKNhQHi
The Uno.WinUI package shipped two MSBuild files that only a legacy,
non-`Uno.Sdk` project could reach:

- `uno.winui.single-project.targets`, imported when `$(SingleProject)` is true —
  the 5.1-and-earlier single-project layout, since superseded by the Uno.Sdk's
  own `Uno.DefaultItems.SingleProject` / `Uno.ProjectCapabilities.SingleProject`
  / `Uno.SingleProject.*` targets.
- `uno.winui.win.targets`, shipped only into the `uap10.0.*` buildTransitive
  folders. The package carries no `lib/uap10.0.*` assets and no `uap10.0`
  dependency group, so a UWP head already resolved nothing from it.

A new UNOB0021 error replaces them for application heads, so a legacy project
gets one actionable diagnostic pointing at the migration guide instead of a wall
of missing-target failures. It can only see `OutputType`, so an executable that
merely links Uno.WinUI trips it too — `UnoDisableUNOB0021Validation` opts out,
mirroring the existing `UnoDisableUNOB0002Validation`.

Libraries keep building from a plain `Microsoft.NET.Sdk` project, and WinAppSDK
heads are untouched — that path does not import `uno.winui.common.targets`.

UNOB0020 is deliberately skipped: PR #24087 claims it for the runtime-asset
validator.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01TkmzHzEzSGmbD66HKNhQHi
`UnoAppWinUI`, `UnoAppWinUILinuxValidation` and `MyAppXamlTrim` are fixtures for
the project format 7.0 removes: a shared class library plus one head project per
platform (`.Mobile`, `.Wasm`, `.Skia.Gtk`, `.Skia.Linux.FrameBuffer`,
`.Windows`, `.UWP`, `.Shared`), each a `Microsoft.NET.Sdk` project referencing
the `Uno.WinUI` package.

Nothing built them any more: `run-netcore-mobile-template-tests.ps1` gated them
on test group 0, which appears in neither the Windows nor the macOS job matrix,
and additionally on `UWPBuildEnabled`, which nothing sets.

The library fixtures (`MyUnoLib`, `MyUnoLib2`, `MyCrossRuntimeLib`) stay: a
class library may still reference the `Uno.WinUI` package directly.

Removing `MyAppXamlTrim` also drops the only caller of
`Uno.ResourceTrimmingValidator`. The tool is kept; re-homing that check onto an
Uno.Sdk template is left as follow-up work.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01TkmzHzEzSGmbD66HKNhQHi
Documents UNOB0021 and UNOB0022, adds the project-format section to the 7.0
migration guide, and flips the single-project guide's "migration is optional"
note — it is now the migration path off the removed format. The per-release
notes for 5.1/5.2/5.3 keep describing what was true then, with a pointer to 7.0.
The 7.0 guide's package table no longer explains how to wire a "hand-rolled
(non-Uno.SDK) head", which the same guide now says is unsupported.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01TkmzHzEzSGmbD66HKNhQHi
The legacy-format removal renamed _IsUnoSingleProjectAndLegacy to _IsUnoSingleProject, but the tvOS import still read the old name, so UnoSingleProject=true tvOS heads lost their Platforms/tvOS items, entitlements and resource prefix.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_0174MvVSZkUu8JP2UoD4dEjG
Master took UNOB0021 for the implicit-package manifest error, and #24186
holds UNOB0023-UNOB0026.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014vRr9HufCgBEVgt1z8J5Ay
Microsoft.NET.Test.Sdk makes test projects Exe, and uno.winui.common.targets
reaches them transitively through any referenced Uno project, so a plain
unit-test project referencing an Uno app or library failed with UNOB0028.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Et8VB2QNvP81A7zHdhdrkW
Master took UNOB0028 for the splash screen color and optional package diagnostics. Rebased 2026-10-09.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01NHPnucPE4WuxBEhL1RJG2T
Copilot AI lite review requested due to automatic review settings October 10, 2026 14:40

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions

github-actions Bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 17s —— View job


PR Review: Make the Uno.Sdk the only supported app project format

Verdict: ship (0 blockers, 0 inline findings)

Scope: inspection and grep of the branch at 81b6b2ed (12 commits vs origin/master). I did not build or run anything.

Checked

  • build/nuget/uno.winui.common.targets uses UNOB0029 consistently in the error code, HelpLink, message and opt-out property UnoDisableUNOB0029Validation. The UsingUnoSdk and IsTestProject exclusions are in place.
  • _IsUnoSingleProjectAndLegacy has no remaining references in build or src/Uno.Sdk.
  • The remaining UNOB0028 hits in src/Uno.Sdk (ImplicitPackagesResolver.cs, Uno.DefaultItems.Resizetizer.targets, one comment in Uno.Extensions.Implicit.Packages.ProjectSystem.targets) belong to the splash-screen and optional-package diagnostics that master owns. None refer to the Uno.Sdk requirement.
  • Earlier threads stay resolved: the tvOS import, the UNOB0026 closing fence, the dead script block and the Split('-')[0] simplification.

Open items (none are code defects)

  • PR description: I did not re-check the body this pass. If it still says UNOB0028 for the Uno.Sdk requirement, change it to UNOB0029. This matters most for the aka.platform.uno redirect follow-up, because /UNOB0028 belongs to the splash-screen diagnostic.
  • Screenshot diffs: build 238668 reports 118 differences on skia-linux-screenshots and 1174 on skia-windows-screenshots. This PR changes no runtime code, so a baseline or infrastructure cause is likely. Confirm against the master baseline before ticking the "Screenshots Compare Test Run" box.
  • No CI coverage: the template-test jobs are still disabled, so the SolutionTemplate deletions and the Uno.Sdk target changes are not exercised here.
  • No regression test: the new diagnostics and the tvOS import have no checked-in regression test. The author has deferred this to a follow-up.
    · Branch: dev/mazi/2063-nonsdk

@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

@MartinZikmund
MartinZikmund merged commit a2487c1 into master Oct 10, 2026
56 of 60 checks passed
@MartinZikmund
MartinZikmund deleted the dev/mazi/2063-nonsdk branch October 10, 2026 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/automation Categorizes an issue or PR as relevant to project automation area/build Categorizes an issue or PR as relevant to build infrastructure area/sdk Categorizes an issue or PR as relevant to the Uno.Sdk area/solution-templates Categorizes an issue or PR as relevant to the solution template kind/documentation platform/android 🤖 Categorizes an issue or PR as relevant to the Android platform platform/ios 🍎 Categorizes an issue or PR as relevant to the iOS platform

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants