-
Notifications
You must be signed in to change notification settings - Fork 762
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Wizard][Lottie] Lottie is added to csproj without decidision while Project generation? #19618
Comments
Lottie is always included because it is required to render the progress ring control. Which issue did you find with having that package included? |
maybe it would be possible to make the shell view content added by willingly selecting the lottie package (and then have this shown in the new created project other than currently having to enable this in some way) and otherwise this would just not be 1. included without selecting it and 2. the shell user control would not have this not even used by default control? |
We're taking the approach of including packages for the default scenarios to be as easy as possible. At this time, this package is not particularly large, and it's not impacting the download size much. It's also removed at runtime if it's not used. Which wizard section are you talking about? |
The Lottie option is completely missing in the documentation here Visual Studio Wizard Also not listed in the extensions overview: Only place where this is mentioned is in https://platform.uno/docs/articles/features/Lottie.html And the gallery app. |
Right, this is expected. Lottie support is defined here:
There's no option needed in the wizard to include it at this time, and the documentation is explaining what needs to be done, as well as a specialized build error. |
Current behavior
For some reason the Lottie feature is added to the csproj file using the Visual Studio 2022 wizard, but there was no option to not require it? Checking out the template.json file in the uno.templates repository, its added if there is (from the cmd which seems to be internally used) listed this clearly OR if we require toolkit and fluent?
Expected behavior
Checking out the uno gallery, the only reason we might want this, would be animations, but in this case it would make lot more sense to be able to explicitly choose it in my opinion, but not add it by default
How to reproduce it (as minimally and precisely as possible)
create a new uno application and add toolkit and fluent theme then you should get this by default for no ovious reason
Workaround
ignore it to be imported in features, but it seems to just add not needed overhead
Works on UWP/WinUI
Yes
Environment
Uno.WinUI / Uno.WinUI.WebAssembly / Uno.WinUI.Skia
NuGet package version(s)
uno.sdk 5.6.37
Affected platforms
WebAssembly, Android, iOS, Mac Catalyst, Skia (WPF), Skia (Linux X11), Skia (macOS), Skia (Linux Framebuffer), Skia (GTK), Windows (WinAppSDK), Build tasks
IDE
Visual Studio 2022
IDE version
17.13.1
Relevant plugins
No response
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered: