Lottie-Windows icon indicating copy to clipboard operation
Lottie-Windows copied to clipboard

How to use lottie in WinUI3 project

Open gscheartA opened this issue 2 years ago • 11 comments

I am migrating a uwp app to WinUI3, but I get this output when I install Microsoft.Toolkit.Uwp.UI.Lottie Nuget package

NU1202: Package Microsoft.Toolkit.Uwp.UI.Lottie 7.1.1 is not compatible with net5.0-windows10.0.19041 (.NETCoreApp,Version=v5.0). Package Microsoft.Toolkit.Uwp.UI.Lottie 7.1.1 supports: uap10.0.16299 (UAP,Version=v10.0.16299) NU1202: Package Microsoft.Toolkit.Uwp.UI.Lottie 7.1.1 is not compatible with net5.0-windows10.0.19041 (.NETCoreApp,Version=v5.0) / win10-arm64. Package Microsoft.Toolkit.Uwp.UI.Lottie 7.1.1 supports: uap10.0.16299 (UAP,Version=v10.0.16299) NU1202: Package Microsoft.Toolkit.Uwp.UI.Lottie 7.1.1 is not compatible with net5.0-windows10.0.19041 (.NETCoreApp,Version=v5.0) / win10-x64. Package Microsoft.Toolkit.Uwp.UI.Lottie 7.1.1 supports: uap10.0.16299 (UAP,Version=v10.0.16299) NU1202: Package Microsoft.Toolkit.Uwp.UI.Lottie 7.1.1 is not compatible with net5.0-windows10.0.19041 (.NETCoreApp,Version=v5.0) / win10-x86. Package Microsoft.Toolkit.Uwp.UI.Lottie 7.1.1 supports: uap10.0.16299 (UAP,Version=v10.0.16299)

May I know how to correctly install lottie in WinUI3 or some other method to use it? Thank you very much

gscheartA avatar Aug 09 '22 05:08 gscheartA

@gscheartA We will release CommunityToolkit.WinUI.Lottie package for WinUI3 soon, as 7.1.3 update. You should be able to use this upcoming package in your app.

aborziak-ms avatar Aug 16 '22 23:08 aborziak-ms

@aborziak-ms Thank you very much for your answer, it is great that we can use Lottie in WinUI3 project. Be the way, is there an approximate release time for CommunityToolkit.WinUI.Lottie package? It is important for me to keep my development.

gscheartA avatar Sep 14 '22 02:09 gscheartA

Any news about 7.1.3 relese?

Petrarca181 avatar Jan 17 '23 13:01 Petrarca181

This shipped on 7.1.2: https://www.nuget.org/packages/CommunityToolkit.WinUI.Lottie

azchohfi avatar Apr 17 '23 22:04 azchohfi

This shipped on 7.1.2: https://www.nuget.org/packages/CommunityToolkit.WinUI.Lottie

@gscheartA We will release CommunityToolkit.WinUI.Lottie package for WinUI3 soon, as 7.1.3 update. You should be able to use this upcoming package in your app.

The package installed by Nuget does not support x64. How can I solve it?

KFeiHe avatar Jul 14 '23 09:07 KFeiHe

@azchohfi @aborziak-ms

7.1.2 CommunityToolkit.WinUI.Lottie doesn't seem to support x64? I see here that this seems to have been fixed, can we expect a new release anytime soon for this?

kazo0 avatar Aug 02 '23 14:08 kazo0

@michael-hawker ?

azchohfi avatar Aug 02 '23 23:08 azchohfi

7.1.2 CommunityToolkit.WinUI.Lottie doesn't seem to support x64? I see here that this seems to have been fixed, can we expect a new release anytime soon for this?

@azchohfi, @aborziak-ms, @michael-hawker any update on this one, please?

agneszitte avatar Jan 18 '24 18:01 agneszitte

@agneszitte have you tried pre-release 8.0.0-rc, does it work for you? There should be full 8.0 release that includes all changes soon.

aborziak-ms avatar Feb 27 '24 18:02 aborziak-ms

@aborziak-ms

I can confirm for @agneszitte that this is indeed working properly now for x64 with 8.0.0-rc, thanks!

kazo0 avatar Mar 02 '24 00:03 kazo0

@aborziak-ms I can confirm for @agneszitte that this is indeed working properly now for x64 with 8.0.0-rc, thanks!

Thanks again for the follow-ups on this issue! Appreciated!

agneszitte avatar Mar 04 '24 15:03 agneszitte