Skip to content

chore!: Uno Platform 7.0 retarget (SDK, net10.0, .NET 10 fallout) - #3181

Merged
MartinZikmund merged 41 commits into
mainfrom
dev/mazi/uno70
Sep 26, 2026
Merged

MartinZikmund merged 41 commits into
mainfrom
dev/mazi/uno70

Conversation

@MartinZikmund

@MartinZikmund MartinZikmund commented Sep 11, 2026 •

Copy link
Copy Markdown
Member

GitHub Issue (If applicable): relates to unoplatform/uno-private#2072

PR Type

  • Build or CI related changes
  • Bugfix

Description

Retargets Uno.Extensions to Uno Platform 7.0 (Uno.Sdk.Private 7.0.0-dev.701, net10.0). This is the Uno.Extensions counterpart to Uno.Themes#1722 and uno.toolkit.ui#1635.

The upstream block is cleared: Uno.Toolkit.WinUI 11.0.0-dev.90 and Uno.Material/Uno.Themes.WinUI 9.0.0-dev.16 are published against Uno.WinUI 7.0.0-dev.701. Every app head and UI-test surface now builds. Full picture in specs/014-uno-7-retarget/spec.md.

What's green

Uno.Extensions-packageonly.slnf builds with 0 errors and packs all 38 packages, and the whole unit-test layer passes — 1,613 tests, including the 1,433 Reactive ones.

Every app head builds too: Uno.Extensions-runtimetests.slnf (desktop), Playground.sln and TestHarness.sln (desktop + Windows), and the Android head of all four apps.

The shape of the change

Uno 7 renders with Skia on every platform, so Uno.WinUI 7.0 ships library assets only for net10.0 and net10.0-windows10.0.19041.0. Libraries and app heads therefore need different TFM lists, which drove the largest structural change here.

Commit What
chore!: Target Uno.Sdk.Private 7.0 and net10.0 Single SDK, net9.0 to net10.0, Mac Catalyst dropped, MSBuild.Sdk.Extras removed (unreferenced, and MSB4184 on the .NET 10 SDK), framework-provided packages removed (NU1510)
refactor!: Split app-head TFMs from the shipped library set tfms-ui-winui.props keeps net10.0 + net10.0-windows; the dead tfms-ui-winui-runtimetests.props is reused as tfms-ui-winui-apps.props for the heads and the projects deployed into them
fix: Replace System.Linq.Async with the .NET 10 built-in AsyncEnumerable See below
fix!: Bind to the renamed Uno.UI.Extras storage helper (BC53) Uno.UI.Toolkit.StorageFileHelper becomes Uno.Storage.StorageFileHelper, plus the PRI workaround paths
chore(deps): Move MAUI, Microsoft.Extensions and C# Markup to the 7.0 line MAUI 10.0.90, Microsoft.Extensions.* 10.0.12, Markup 7.0.0-dev.9
chore!: Drop Mac Catalyst from the app heads and align them with Uno 7 floors Deletes four dead Platforms/MacCatalyst folders; retires two workarounds whose preconditions are gone
test: Fix the navigation hot-reload tests Nullable DataContext (CS8600) + 8 XAML pages never listed as Page items
ci: Move the pipelines to .NET 10 and the Uno 7 TFMs .NET 10 SDK, uno.check 1.34.1, JDK 17, every net9.0-* path
docs: Record the retarget and refresh stale net9 guidance New spec + AGENTS.md
fix(ci): Pin the SDK uno.check provisions and select Xcode 26.1 SDK 10.0.101 (on 10.0.102 every net10.0-ios project failed NETSDK1147 on Windows agents); Xcode 26.1.1 + iOS 26.1 runtime, which .NET for iOS 26.1 requires; the static web app workflow moves off the 9.0 SDK (NETSDK1045)
docs: Satisfy the spell-check gate cspell words for the spec
refactor(navigation): Drop the native frame templates from ModalFlyout The ios:/android: templates used Toolkit's NativeFramePresenter, which Toolkit 11 removes; the library only targets net10.0 + Windows, so they never compiled
chore(deps): Move C# Markup to 7.0.0-dev.33 Uno.WinUI.Markup, Uno.Extensions.Markup.WinUI and the generators move to the first Uno 7 build; the three *.Markup projects build without UNOB0020
fix(runtimetests): Pin AndroidX Lifecycle.Process in the runtime-tests head Emoji2 still pulls Lifecycle.Process 2.9.2.1, which caps Lifecycle.Runtime below the 2.10.0.2 Uno 7's AndroidX pins need (NU1608 on the Android build); head-only pin
chore(deps): Move Toolkit to 11.0 and Themes to 9.0 for Uno 7 UnoToolkitVersion 8.4.2 → 11.0.0-dev.90, UnoThemesVersion 6.1.1 → 9.0.0-dev.16, in src/ and samples/; the local override in MauiEmbedding.csproj goes away
chore(deps): Build every head without Hot Design and MCP support Neither companion has an Uno 7 build; UnoDisableHotDesign / UnoDisableMCPSupport move to the root Directory.Build.props
test(runtimetests): Move the test engine to the build that survives Uno 7 Engine 2.0.0-dev.81; see below
fix!: Build the Android heads against Uno 7's NativeApplication CreateHost() override; UniversalImageLoader drops out with the non-Skia pipeline
fix(testharness): Drop the platform key-value stores that Uno 7 removes KeyStoreKeyValueStorage / KeyChainKeyValueStorage exist in no assembly a head can see now
chore(deps): Raise the AndroidX pins to the floors MAUI 10.0.90 requires Browser 1.8.0.11, Navigation 2.9.2.1, SwipeRefreshLayout 1.1.0.29, Material 1.12.0.5
test(navigation): Give the Region logger test two distinct logger instances NullLoggerFactory.CreateLogger(name) returns one shared singleton, so the test's two "different" loggers were the same object

Worth a closer look: the System.Linq.Async collision

.NET 10 ships System.Linq.AsyncEnumerable in the BCL, which collides head-on with the System.Linq.Async package — 104 CS0121 plus 11 cascading CS0149 in Uno.Extensions.Reactive.

The BCL covers every operator this repo uses except four Ix.NET-only ones, so the package is dropped and those four (ForEachAsync twice, ForEachAwaitAsync, and a Func-shaped ForEachAwaitWithCancellationAsync) are re-homed into the existing internal AsyncEnumerableExtensions. The repo's own FirstOrDefaultAsync(source, defaultValue, ct) goes away — .NET 10 now ships an identical one. MoveNextAsync(ct) was also an Ix extension and returns as AsyncEnumeratorExtensions, preserving its semantics (throw if cancelled, then move); without it, cancellation between two moves is silently no longer observed.

CombineFeed.tt needed no change — the generated Select calls pass explicit type arguments and bind to exactly one BCL overload.

Bumping to System.Linq.Async 7.0.1 also resolves the ambiguity, but every surviving ForEach* there is [Obsolete], which this repo's TreatWarningsAsErrors turns into 14 build errors.

Not marked breaking: both colliding classes are internal. Note this collision already affects the shipped Uno.Extensions.Reactive 7.3.6 for any net10.0 consumer app, independently of Uno 7 — worth considering for a 7.3.x servicing patch.

What the Toolkit release cost

Three things had to move with it.

Hot Design and MCP support are off repo-wide. Neither has an Uno 7 build. Uno.UI.HotDesign 1.23.0-dev.174 is still net9.0 against Uno 6.8 and pulls Uno.Toolkit.WinUI 9.1.3 with it. Uno.UI.App.Mcp 2.0.0-dev.4 is net9.0 against SkiaSharp 3.119 — its GlobalStaticResources initializer threw FileNotFoundException for SkiaSharp.Views.Windows before OnLaunched ran, which killed the runtime-test host at startup and surfaced as the engine's misleading "Window content is being set before the application is initialized". UnoDisableHotDesign / UnoDisableMCPSupport now live in the root Directory.Build.props; the CI mobile stages already passed them.

The runtime-test engine moves to 2.0.0-dev.81. Uno 7 moved PointerPointProperties from Windows.UI.Input to Microsoft.UI.Input, and dev.79's InputInjectorHelper hard-casts to the Windows type. That cast runs in CleanupPointers after every test, so the desktop lane reported 136 failures over 105 cases, all InvalidCastException. dev.81 reads the button states reflectively and is otherwise byte-identical to dev.79; dev.85 and later additionally require MSTest 4.x, which this repo is not on.

The Android heads must override CreateHost(). Microsoft.UI.Xaml.NativeApplication is abstract in Uno 7, and CreateHost() is the Android equivalent of Main — Android has no managed entry point, so the host is built when the first ApplicationActivity starts. ConfigureUniversalImageLoader goes with it: Com.Nostra13.Universalimageloader is the non-Skia image pipeline and is no longer referenced.

Known and deliberately not fixed here

  • BC14 — UserControl/Page reparent onto Control, so ApplicationBuilderExtensions.NavigateAsync<TShell>()'s as ContentControl cast silently fails for any Shell not implementing IContentControlProvider, giving a permanent blank screen. The maintained template and this repo's samples implement it, so they are unaffected — but this needs a runtime-verified fix and a regression test rather than a blind change inside a retarget PR.
  • BC50 — PrimaryLanguageOverride is now restart-to-apply, which is exactly what LocalizationService.SetCurrentCultureAsync relies on for live language switching. No compile signal; needs a runtime test.
  • Uno.UI.RuntimeTests.Engine breaks MSIX packaging on the Windows leg of the RuntimeTests head (APPX0002). CI does not build that leg.
  • Uno.Extensions.Reactive still ships a Uno.Toolkit 7.0.7 dependency with no visible consumer in the package. It resolves upward next to Toolkit 11, but it is a stale floor to carry into a 7.0 release.
  • Version policy for the 7.0 line is unsettled. version.json still reads 7.4-dev.{height}; Themes took a major bump to 9.0 and Toolkit to 11.0. That is a release decision.

Verification

  • MSBuild Uno.Extensions-packageonly.slnf -r -m -p:Configuration=Release — 0 errors, 38 packages, across net10.0, net10.0-android, net10.0-ios, net10.0-windows10.0.19041.
  • dotnet test Uno.Extensions-packageonly.slnf -c Release --filter "FullyQualifiedName!~UI.Tests" — 1,613 passed, 0 failed.
  • Uno.Extensions-runtimetests.slnf (desktop), Playground.sln and TestHarness.sln (desktop + Windows), and net10.0-android for all four heads — 0 errors each.
  • Version numbers were read from the SDK's own packages.json (Uno.Sdk.Private 7.0.0-dev.701) rather than copied between repos.
  • BC53 was verified against the shipped lib/net10.0/Uno.UI.Extras.dll, which contains Uno.Storage and no Uno.UI.Toolkit.

Not verified: no runtime or visual pass on a device. iOS is not buildable on a Windows host, and the WASM head's native-asset link step needs the wasm-tools workload (CI has it). The JDK 11 to 17 bump only takes effect on the CI Android stage.

Run the runtime tests on Linux, not on Windows. CI runs every runtime-test lane on ubuntu-24.04 under xvfb and main is green on all of them. On a Windows host with the Win32 Skia backend, 12 desktop tests fail on the Uno 6 merge base exactly as they do here — host-specific, not retarget fallout, but it means a local Windows run is not a usable signal for that lane. Details in the spec.

Note for reviewers building locally: dotnet build cannot build a WinUI project that has XAML pages on Uno 7 (UNOB0008 — the SDK refuses it by design). Use MSBuild, as CI's MSBuild@1 task does.

Update: CI fixes and library targets (2026-09-23)

Libraries build for Android and iOS again. This corrects the "Split app-head TFMs" premise above. A net10.0-android/net10.0-ios library still builds against Uno.WinUI's net10.0 asset, Uno.WinRT 7.0 still ships Android and iOS assets, and Uno 7's asset selector keeps a library's own platform build on device. With net10.0 only, every __ANDROID__/__IOS__ path was compiled out: KeyStore/Keychain storage (tokens fell back to unencrypted ApplicationData), the native HTTP handlers, the Serilog/OSLog mobile sinks, and the Android layout yield. tfms-ui-winui.props adds net10.0-android and net10.0-ios back. The TestHarness storage workaround is reverted, and the storage/MSAL docs now describe the Uno 7 defaults. The iOS-only ShowPickerAsync is removed, since it routed to the native Picker that Uno 7 removes, and no navigator has handled that route for a long time.

Hot-reload lane. XAML hot reload doesn't need Hot Design. The runtime-test app called UseStudio() only when Hot Design was enabled, so with Hot Design disabled nothing registered the window, and every XAML delta arrived but was never applied to the tree (Unable to access Dispatcher/DispatcherQueue in order to invoke UpdateVisualTree). It now calls EnableHotReload() in that case. Two more causes were in the test data: both region hot-reload test pages had been committed in their mid-edit state, and the route-gate file's comment quoted the patch text, so the patch and its revert hit the comment. Local run of the full _HotReload suite: 65/65 passed (41/65 before).

WebAssembly UI-test lane disabled, tracked in #3187. Uno.UITest.Selenium finds elements and reads properties through the native WebAssembly DOM renderer, which Uno 7 removed: 0 of 52 passed, and the job hit its 60-minute timeout.

Build and Deploy Job (Azure Static Web Apps) is not caused by this PR. It fails on every PR in the repo with "This Static Web App already has the maximum number of staging environments". Someone with Azure access needs to delete stale environments.

Local validation for these commits:

  • Compile: Uno.Extensions-packageonly.slnf (Release) with 0 errors on net10.0, net10.0-android and net10.0-ios. The Windows TFM needs MSBuild and is left to CI. The Android Storage build contains KeyStoreKeyValueStorage, the iOS build contains KeyChainKeyValueStorage, and plain net10.0 has neither. TestHarness builds for net10.0-android and net10.0-ios.
  • Runtime: _HotReload suite, 65/65 on Skia Desktop (Windows host).

PR Checklist

  • Tested the changes where applicable:
    • Skia Desktop (net10.0) — package surface, unit tests, app heads
    • iOS — not buildable on a Windows host; CI covers the build
    • Android — all four heads build
    • WASM — compiles clean; native link covered by CI
    • MacOS — dropped in Uno 7
  • Updated the documentation as needed
  • Contains No breaking changes

    Breaking changes are described in the BREAKING CHANGE: footers of the four !-marked commits.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XKVS6HsqQKi8xT8dQ3REDT

@unodevops

Copy link
Copy Markdown
Contributor

⚠️⚠️ The build 233126 has failed on uno.extensions.

@MartinZikmund
MartinZikmund force-pushed the dev/mazi/uno70 branch 2 times, most recently from cc71b5c to 8a92e34 Compare September 17, 2026 12:22
@unodevops

Copy link
Copy Markdown
Contributor

⚠️⚠️ The build 235021 has failed on uno.extensions.

@unodevops

Copy link
Copy Markdown
Contributor

⚠️⚠️ The build 235221 has failed on uno.extensions.

@MartinZikmund
MartinZikmund marked this pull request as ready for review September 23, 2026 11:59
@unodevops

Copy link
Copy Markdown
Contributor

⚠️⚠️ The build 235260 has failed on uno.extensions.

MartinZikmund and others added 17 commits September 25, 2026 07:19
BREAKING CHANGE: packages now target net10.0 and require Uno Platform 7.0. Mac Catalyst
is no longer a supported target.

Move every project from `Uno.Sdk` to `Uno.Sdk.Private` 7.0.0-dev.701 and retarget
net9.0 -> net10.0. There is no public `Uno.Sdk` 7.x yet, so the private SDK is the
only one carrying the 7.0 version table.

- Mac Catalyst is dropped: Uno Platform 7.0 ships no assets for it, and the 7.0 SDK
  no longer lists it as a platform (`Uno.IsPlatform.props`).
- `MSBuild.Sdk.Extras` leaves `global.json`. Nothing in the repo has referenced it for
  some time, and the .NET 10 SDK fails to resolve it (MSB4184).
- `System.Collections.Immutable`, `System.Text.Json` and `System.Threading.Tasks.Extensions`
  are removed: on net10.0 they are framework-provided, and NuGet now errors (NU1510) on
  referencing them explicitly.
- `Uno.Core.Extensions.Logging{,.Singleton}` move to 5.0.0-dev.28, the 7.0 line that
  `Uno.UI.Adapter.Microsoft.Extensions.Logging` 7.0.0-dev.701 requires (NU1109).

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01XKVS6HsqQKi8xT8dQ3REDT
BREAKING CHANGE: the WinUI libraries no longer produce net10.0-ios, net10.0-android or
net10.0-browserwasm assets. Consumers resolve the net10.0 asset on those platforms,
which is what Uno Platform 7.0 itself ships.

Uno Platform 7.0 renders with Skia on every platform, so `Uno.WinUI` ships library
assets only for net10.0 and net10.0-windows10.0.19041. Building the shipped libraries
for net10.0-ios/-android/-browserwasm now binds nothing extra - it just multiplies
build legs and, when one of them fails, the failure cascades into every downstream
project reference as several hundred spurious CS0246/CS0234.

App heads still target the platform they run on, so the two lists have to diverge:

- `tfms-ui-winui.props` keeps net10.0 + net10.0-windows10.0.19041 and stays with the
  16 shipped libraries.
- `tfms-ui-winui-runtimetests.props` - dead code, imported by nothing on `main` - is
  reused as `tfms-ui-winui-apps.props` and carries the platform matrix for the app
  heads (Playground, TestHarness, RuntimeTests) and the projects deployed into them
  (RuntimeTests.Core and the five `*.UI.Tests`).

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01XKVS6HsqQKi8xT8dQ3REDT
.NET 10 ships `System.Linq.AsyncEnumerable` in the BCL, which collides head-on with
the `System.Linq.Async` 4.0.0 package: 104 CS0121 across Feed.Extensions,
ListFeed.Extensions and the T4-generated CombineFeed, plus 11 CS0149 cascading from
the ambiguous `Select` calls.

The BCL covers every operator this repo uses except four Ix.NET-only ones, so drop
the package and re-home those into the existing internal `AsyncEnumerableExtensions`:
`ForEachAsync` (two overloads), `ForEachAwaitAsync` and a `Func`-shaped
`ForEachAwaitWithCancellationAsync`. The repo's own `FirstOrDefaultAsync(source,
defaultValue, ct)` goes away - .NET 10 now ships an identical one.

`MoveNextAsync(ct)` was also an Ix.NET extension, so it comes back as
`AsyncEnumeratorExtensions` with the same semantics (throw if cancelled, then move).
Without it, cancellation between two moves is no longer observed.

`CombineFeed.tt` needs no change: the generated `Select` calls pass explicit type
arguments and bind to exactly one BCL overload.

Bumping to System.Linq.Async 7.0.1 would also resolve the ambiguity, but every
surviving `ForEach*` there is `[Obsolete]`, which this repo's `TreatWarningsAsErrors`
turns into 14 build errors.

Not marked breaking: both colliding classes are `internal`. It does drop a public
NuGet dependency from Uno.Extensions.Reactive, which is additive for consumers - the
shipped 7.3.6 forces the same collision onto any net10.0 app that references it.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01XKVS6HsqQKi8xT8dQ3REDT
BREAKING CHANGE: requires Uno Platform 7.0, where `Uno.UI.Toolkit` no longer exists.

Uno Platform 7.0 renames the `Uno.UI.Toolkit` assembly to `Uno.UI.Extras`, but the
types move to their natural namespaces rather than travelling as a block:
`StorageFileHelper` is now `Uno.Storage.StorageFileHelper`. Verified against
`lib/net10.0/Uno.UI.Extras.dll` in Uno.WinUI 7.0.0-dev.701, which contains
`Uno.Storage` and no `Uno.UI.Toolkit`.

`using:Uno.UI.Extras` would compile but resolve nothing at runtime - the namespace
exists, the type is not in it.

The WinAppSDK PRI workaround follows the same rename: the package now ships
`Uno.UI.Extras.pri` and an `Uno.UI.Extras/` asset folder, so the old paths silently
copied nothing.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01XKVS6HsqQKi8xT8dQ3REDT
… line

- `Microsoft.Maui.Controls{,.Compatibility}` 9.0.111 -> 10.0.90, the version the
  Uno.Sdk.Private 7.0.0-dev.701 package table itself provisions. 9.0.111 resolves on
  net10.0 but emits IL2111 on the Apple legs, which `TreatWarningsAsErrors` fails.
- `Microsoft.Extensions.*` 9.0.14 -> 10.0.12. MAUI 10 pulls the 10.0.0 assemblies
  transitively, so leaving the central pins on 9.0.14 is an NU1109 downgrade.
- `Uno.WinUI.Markup` / `Uno.Extensions.Markup.*` 5.3.12 -> 7.0.0-dev.9.

The Markup bump is a step, not a fix. 7.0.0-dev.9 is still built against Uno 6.x, so
Uno 7's own analyzer still reports UNOB0020 ("references Uno Platform types that no
longer exist ... will fail at runtime") against its assets. It is on the 7.0 line
where the real fix lands, making the eventual unblock a version number only.
See unoplatform/uno.csharpmarkup#906.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01XKVS6HsqQKi8xT8dQ3REDT
…7 floors

BREAKING CHANGE: Mac Catalyst is no longer a supported target.

Uno Platform 7.0 removes Mac Catalyst: the 7.0 SDK declares Android, iOS, tvOS,
Desktop, Wasm and Windows platform folders and no longer recognises
`Platforms/MacCatalyst`. The four `Main.maccatalyst.cs` files would therefore fall
into the default compile glob of *every* target framework, so the folders go.

The sample and harness pins move to what the 7.0 SDK provisions - SkiaSharp 4.151.1,
Svg.Skia 3.0.6, WindowsAppSDK 2.4.0, Microsoft.Extensions.* 10.0.12 - and two
workarounds are retired because the conditions that motivated them are gone:

- The `WinAppSdkVersion` override in Playground and MauiEmbedding existed to reconcile
  `Uno.Sdk` and `Uno.Sdk.Private` pulling different WindowsAppSDK versions. There is
  only one SDK now, and the override pinned below Uno 7's 2.4.0 floor (NU1605).
- The `Microsoft.Extensions.*` re-pin in the RuntimeTests head existed to avoid NU1109
  "without raising the dependency versions of the published packages". Those versions
  have now been raised, so the re-pin only reintroduced the downgrade it was added to
  prevent.

`SkiaSharp.Skottie` loses its 2.88.8 `VersionOverride` and is pinned centrally at the
SDK's 4.151.1 instead.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01XKVS6HsqQKi8xT8dQ3REDT
`FrameworkElement.DataContext` is nullable in Uno 7, so casting it straight to
`HotReloadVm` is CS8600 under this repo's `Nullable=enable` +
`TreatWarningsAsErrors`. The six sites become
`.Should().BeOfType<HotReloadVm>().Subject`, which both satisfies the nullable flow
and turns a wrong or missing view model into a readable assertion failure instead of
an InvalidCastException. That matches how the rest of these files already assert.

Separately, eight of the fifteen XAML pages were never listed as `<Page>` items. The
project sets `EnableDefaultPageItems=false`, which suppresses the WindowsAppSDK
default items, so on net10.0-windows10.0.19041 their generated `InitializeComponent`
never existed (CS1061/CS0103). The Uno SDK's own glob covers the Skia targets, which
is why only the Windows leg broke - and why CI never caught it, since the runtime-test
stages build Skia and mobile heads only.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01XKVS6HsqQKi8xT8dQ3REDT
- Every hardcoded `net9.0-*` path and `-f net9.0-*` argument becomes `net10.0-*`,
  across the runtime-test, wasm and desktop stages plus the wasm UI-test script and
  the static-app workflow.
- `DotNetVersion` 9.0.200 -> 10.0.102 in all four dotnet-install templates, and the
  VSTest SDK pin in stage-build-packages.yml 8.0.301 -> 10.0.102. That pin fed the
  runner used to execute the unit tests, which are net10.0 assemblies now.
- `uno.check` 1.30.1 -> 1.34.1, matching the version the Uno 7 sibling repos provision.
- JDK 11 -> 17. The .NET 10 Android workload requires 17; this is the one change here
  I could not verify locally, since it only takes effect on the CI Android stage.
- Drops `/p:Build_MacCatalyst=false` from the wasm UI-test script - the switch no
  longer exists.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01XKVS6HsqQKi8xT8dQ3REDT
Adds `specs/014-uno-7-retarget/spec.md` with the target version table, what is green,
what is blocked upstream and why, and the local-build note that `dotnet build` cannot
build a WinUI project with XAML on 7.0 (UNOB0008 - use MSBuild, as CI does).

`AGENTS.md` claimed net9.0 TFMs, `Uno.Sdk` 6.0.x, a per-platform `tfms-non-ui.props`,
a `tfms-ui-winui-runtimetests.props` that no longer exists, and Mac Catalyst as a
supported target. The crosstargeting sample listed uap10.0 and net5.0-windows among
its "available build targets".

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01XKVS6HsqQKi8xT8dQ3REDT
- Pin the .NET SDK to 10.0.101. Provisioning wasm-tools moves the
  mono.toolchain.current manifest to uno.check's own band (10.0.101), so on
  10.0.102 the resolver asked for MonoTargets.Sdk 10.0.2 and every net10.0-ios
  project failed NETSDK1147 on the Windows agents (same fix as Uno.Themes).
- Select Xcode 26.1.1 with the iOS 26.1 simulator runtime: .NET for iOS 26.1
  refuses to build with Xcode 16.4.
- Move the static web app workflow from the 9.0 SDK, which cannot target
  net10.0 (NETSDK1045).

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01SQBL3dpwkP1vsVzy7Kcijc
- The ios:/android: MobileFrameTemplate hosted Uno.Toolkit's
  NativeFramePresenter, which Uno.Toolkit 11 removes along with native
  NavigationBar rendering.
- The Navigation.Toolkit library only targets net10.0 and Windows, so those
  arms were never compiled; FrameTemplate is now applied unconditionally.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01SQBL3dpwkP1vsVzy7Kcijc
7.0.0-dev.9 still carried assemblies that UNOB0020 reports as referencing
types Uno 7 removed. Uno.WinUI.Markup, Uno.Extensions.Markup.WinUI and the
Markup generators move together to 7.0.0-dev.33, which is built against Uno 7.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01SQBL3dpwkP1vsVzy7Kcijc
…s head

AndroidX Emoji2 still depends on Lifecycle.Process 2.9.2.1, which caps
Lifecycle.Runtime below 2.9.3, while the AndroidX Core and Activity versions
Uno 7 pins need 2.10.0.2. The Android runtime-test build failed with NU1608.
The pin lives in the head only, so no shipped package's dependency floor moves.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01SQBL3dpwkP1vsVzy7Kcijc
- Uno.Themes 9.0 and C# Markup 7.0.0-dev.33 are Uno 7 builds; only a
  published Toolkit 11 package is still missing.
- Record the CI, Xcode and AndroidX fixes, and the local validation against
  the toolkit branch.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01SQBL3dpwkP1vsVzy7Kcijc
The first Toolkit and Themes packages built against Uno.WinUI 7.0.0-dev.701 are
published, which clears the CS0012 on the missing `Uno` assembly that blocked every
app head and UI-test surface.

- `UnoToolkitVersion` 8.4.2 -> 11.0.0-dev.90, `UnoThemesVersion` 6.1.1 -> 9.0.0-dev.16
  in both `src/` and `samples/` (which `testing/TestHarness` imports).
- Drop the local `UnoToolkitVersion` override in `MauiEmbedding.csproj`; it now takes
  the samples pin like every other head.

Both stay pinned: `Uno.Sdk.Private` 7.0.0-dev.701 still defaults its Toolkit group to
9.1.0-dev.2 and Themes to 7.1.0-dev.1, which are on the Uno 6 line.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Neither design-time companion has an Uno 7 build:

- `Uno.UI.HotDesign` 1.23.0-dev.174 is still net9.0 against Uno 6.8 and pulls
  `Uno.Toolkit.WinUI` 9.1.3, which fails CS0012 on the missing `Uno` assembly.
- `Uno.UI.App.Mcp` 2.0.0-dev.4 is net9.0 against SkiaSharp 3.119. Its
  `GlobalStaticResources` initializer throws `FileNotFoundException` for
  `SkiaSharp.Views.Windows` before `OnLaunched` runs, so the runtime-test host died at
  startup and the engine then reported the confusing "Window content is being set
  before the application is initialized".

Set both switches in the root `Directory.Build.props` so every head picks them up, and
drop the now-unused `UnoHotDesignVersion` pins.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
MartinZikmund and others added 19 commits September 25, 2026 07:19
…tances

`NullLoggerFactory.CreateLogger(name)` returns the shared `NullLogger.Instance` whatever
name it is given, so the "running host" and the "stopped host" in
`When_ResetLogger_WithDifferentInstance_Then_CurrentLoggerKept` were the same object.
`ResetLogger` matched and cleared the logger, and the test asserted the opposite.

Use `NullLogger<T>.Instance` with two marker types, which really are distinct instances.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Toolkit 11.0.0-dev.90 and Themes 9.0.0-dev.16 are published, so every app head and
UI-test surface builds. Replace the "blocked upstream" section with what was actually
fixed, and add a runtime-test section: the desktop lane's remaining failures reproduce on
the Uno 6 merge base, so they are not retarget fallout.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
CI runs every runtime-test lane on ubuntu-24.04 under xvfb and main is green on all of
them, so the 12 desktop failures and the XAML hot-reload breakage reproduce only on a
Windows host running the Win32 Skia backend. Say so, and record the XAML hot-reload
sequence: the delta is applied, but `GetMetadataUpdateTypes` finds none of the updated
types, so `UpdateApplication` gets an empty array and the tree is never re-applied.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
UseStudio ships with Hot Design, so with it disabled nothing registered the
window and the hot-reload client could not re-apply the visual tree: every
XAML-driven hot-reload test received its delta and then saw no change.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01WHHcu5U9N25wvKGNFCrpJm
Both pages were committed mid-edit by a local hot-reload run, so the tests
that patch them could not find their original text and the region never
populated.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01WHHcu5U9N25wvKGNFCrpJm
The hot-reload patch and its revert replace the first match, which was the
doc comment quoting them, so each local run left the file modified.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01WHHcu5U9N25wvKGNFCrpJm
Uno.UITest.Selenium finds elements and reads properties through the native
WebAssembly DOM renderer, which Uno 7 removed, so all 52 tests timed out.
Porting the harness is tracked in #3187.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01WHHcu5U9N25wvKGNFCrpJm
BREAKING CHANGE: NavigatorExtensions.ShowPickerAsync (iOS only) is removed.
It routed to the native UIKit Picker, which Uno 7 removes, and no navigator
has handled that route since the picker navigator was dropped, so the call
never completed a navigation.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01WHHcu5U9N25wvKGNFCrpJm
Uno.WinUI 7.0 has no android/ios asset, but a net10.0-android/ios library
still binds to its net10.0 one, and Uno 7 keeps a library's own platform
build on device. Without these targets every __ANDROID__/__IOS__ path was
compiled out: KeyStore/Keychain storage, the native HTTP handlers, the
mobile logging sinks and the Android layout yield.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01WHHcu5U9N25wvKGNFCrpJm
Storage.UI builds for Android and iOS again, so KeyStoreKeyValueStorage and
KeyChainKeyValueStorage exist on those heads. This reverts 72544a7.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01WHHcu5U9N25wvKGNFCrpJm
- Uno 7 ships no browserwasm build of the library, so the browser runs the
  net10.0 one, where UNO_EXT_MSAL_BROWSER was never defined
- The provider fell through to MsalCacheHelper, logged an error on every
  sign-in and kept the cache in memory only
- Pick the cache backend at runtime with PlatformHelper.IsWebAssembly

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01FPSdng7F3X9AsxqXSqN8p3
- Serilog.Settings.Configuration 3.3.0 floors it at 3.0.0, which pulls
  System.Text.Encodings.Web 4.6.0 (GHSA-ghhp-997w-qr28)
- The dropped System.Text.Json 8.0.5 pin used to lift that floor; CI's SDK
  doesn't prune the package, so NU1904 broke the package and sample builds

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01FPSdng7F3X9AsxqXSqN8p3
…ests

- It topped up the .NET 9 SDK for the runner tool; the shared uno-check
  template installs 10.0.101 now
- Laying a second SDK over it failed with EACCES on the Android workload
  manifest, so the lane never ran a test

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01FPSdng7F3X9AsxqXSqN8p3
- On Uno 7 App no longer derives from UIApplicationDelegate, so
  UIApplication.Main(args, null, typeof(App)) aborted at launch with
  "Unable to instantiate the UIApplication delegate instance"
- The iOS runtime-test app never ran a test and the lane timed out

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01FPSdng7F3X9AsxqXSqN8p3
- Add an Extensions 8.0 upgrade section: .NET 10, no Mac Catalyst, the
  removed ShowPickerAsync and the Skia-mobile storage switch
- AGENTS.md, the spec and tfms-ui-winui-apps.props still said libraries
  target only net10.0 and Windows; they build Android and iOS too
- Record the MSAL cache and iOS entry-point fixes; correct the CI SDK band

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01FPSdng7F3X9AsxqXSqN8p3
- Uno.Wasm.Bootstrap trims whenever a linker descriptor is present, which
  turns reflection-based System.Text.Json off on the Uno 7 WebAssembly head
- The default IKeyValueStorage then threw InvalidOperationException for a
  plain string; UseStorage now adds source-generated string metadata

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01FPSdng7F3X9AsxqXSqN8p3
@mergify

mergify Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

This pull request does not currently match the merge queue conditions, so it cannot be queued from here. The box comes back if it matches again.

@MartinZikmund
MartinZikmund merged commit 65de33e into main Sep 26, 2026
26 of 27 checks passed
@MartinZikmund
MartinZikmund deleted the dev/mazi/uno70 branch September 26, 2026 09:03
MartinZikmund added a commit to unoplatform/uno.templates that referenced this pull request Sep 26, 2026
@rajamatt rajamatt mentioned this pull request Sep 29, 2026
2 of 7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants