Repository navigation
fix(deps): build against Toolkit 11.0.0-dev.155 and Themes 9.0.0-dev.56 to drop the Uno.UI.Lottie reference - #3263
Merged
Merged
Conversation
- Toolkit 11.0.0-dev.140 and Themes 9.0.0-dev.41 depend on Uno.WinUI.Lottie. The XAML generator compiles a call to the GlobalStaticResources of every referenced XAML assembly, so Navigation.Toolkit.WinUI and Reactive.WinUI hard-referenced Uno.UI.Lottie. - Uno.Sdk 7.0.0-dev.89 apps no longer ship that assembly (Lottie is part of Uno.WinUI since unoplatform/uno#25117), so they failed with FileNotFoundException before any window. - Move Toolkit and Themes to the versions Uno.Sdk 7.0.0-dev.89 pins, and Uno.Sdk.Private to 7.0.0-dev.2428, the Uno.WinUI that SDK uses (both packages require >= 7.0.0-dev.2285). Fixes #3262 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Jen-Uno
approved these changes
Oct 26, 2026
|
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. |
Xiaoy312
approved these changes
Oct 26, 2026
ramezgerges
added a commit
to unoplatform/uno.chefs
that referenced
this pull request
Oct 26, 2026
Uno.Sdk 7.0.0-dev.89 pins Uno.Extensions 8.0.0-dev.118, whose Navigation.Toolkit still initializes Uno.UI.Lottie, which Uno 7 no longer ships. The app died at startup in GlobalStaticResources with a FileNotFoundException. dev.126 has the fix (unoplatform/uno.extensions#3263). Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
1 of 7 tasks
4 of 7 tasks
3 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GitHub Issue (If applicable): closes #3262
PR Type
What is the current behavior?
Recommended template apps on Uno.Sdk 7.0.0-dev.89 that use Navigation with the Toolkit (e.g.
-preset recommended -presentation mvux -theme material) never show a window. In Debug and in Release, they fail with:No resource in this repo uses Lottie. The Uno XAML generator makes a library's
GlobalStaticResources.Initialize()callInitialize,RegisterDefaultStylesandRegisterResourceDictionariesBySourceon theGlobalStaticResourcesof every referenced assembly that has XAML, transitive ones included. We build against Toolkit 11.0.0-dev.140 and Themes 9.0.0-dev.41, which depend onUno.WinUI.Lottie, so these calls are compiled into:Uno.Extensions.Navigation.Toolkit.UI.dll(8.0.0-dev.101, .118, .123);Uno.Extensions.Reactive.UI.dll, which the app initializes right afterNavigation.Toolkitand fails the same way.Since unoplatform/uno#25117, Lottie is part of
Uno.WinUI. Toolkit 11.0.0-dev.155 and Themes 9.0.0-dev.56, which Uno.Sdk 7.0.0-dev.89 pins, no longer depend onUno.WinUI.Lottie, so nothing shipsUno.UI.Lottie.dll. The Fluent template works only because itsUnoFeaturesincludeLottie, which still brings inUno.WinUI.Lottie7.0.0-dev.1574.What is the new behavior?
The packages are built against the Toolkit/Themes that Uno.Sdk 7.0.0-dev.89 pins, so no packed assembly references
Uno.UI.Lottie.global.json:Uno.Sdk.Private7.0.0-dev.2162 → 7.0.0-dev.2428. Toolkit .155 and Themes .56 requireUno.WinUI>= 7.0.0-dev.2285, and 2428 is theUno.WinUIthat Uno.Sdk 7.0.0-dev.89 uses. Itspackages.jsondiffers from 2162 only by addingUno.WinUI.Graphics3DWebGpu.src/Directory.Packages.propsandsamples/Directory.Packages.props: Toolkit 11.0.0-dev.140 → 11.0.0-dev.155, Themes 9.0.0-dev.41 → 9.0.0-dev.56. The pins stay:Uno.Sdk.Private7.0.0-dev.2428 still defaults to .140/.41. The comment now says why the pins have to follow the public SDK.specs/020-uno-ui-lottie-reference/progress.mdhas the findings and results.PR Checklist
Uno.Extensions-packageonly.slnfRelease with MSBuild (all TFMs), and the issue's repro app on Uno.Sdk 7.0.0-dev.89, Skia desktop (Win32).Uno.WinUI7.0.0-dev.2428 and Toolkit 11.0.0-dev.155, the versions Uno.Sdk 7.0.0-dev.89 already pins.Other information
Results:
Uno.Extensions-packageonly.slnf, Release: 0 errors, 38 packages. The only warnings are CS1591, all from the 14 projects that list it inWarningsNotAsErrors.FullyQualifiedName!~UI.Tests): all pass. Reactive: 1492 passed, 19 skipped, the same asmain.lib/in the 38 packages referencesUno.UI.Lottie; the same scan finds it in the published 8.0.0-dev.118. TheNavigation.Toolkit.WinUIandReactive.WinUInuspecs depend on Toolkit 11.0.0-dev.155 and Uno.WinUI 7.0.0-dev.2428.The issue's repro app (Uno.Sdk 7.0.0-dev.89, Recommended, MVUX, Material), with
UnoExtensionsVersionpointed at the locally packed packages:Uno.UI.App.Mcp.Client.GlobalStaticResources.Initialize(): App MCP 2.0.0-dev.16 and HotDesign 2.0.0-dev.31 referenceUno.UI.Lottiethe same way. They aren't built in this repo, so Debug template apps stay broken until they ship rebuilt packages.Not covered: the XAML generator's hard calls into transitive references make every Uno library break when a dependency drops a package. That needs fixing in unoplatform/uno, not here.
🤖 Generated with Claude Code