I get Failed message in WACK

MG Bhadurudeen 626 Reputation points
2020-06-14T00:07:37.917+00:00

Hi, I have used Lottie animation in my uwp project, using Microsoft.Toolkit.Uwp.UI.Lottie NuGet package. When packaging, I get Failed message in WACK. Any help is greatly appreciated.

FAILED
General metadata correctness
Error Found: The general metadata correctness test detected the following errors:
Parameter value of method add_AnimatedVisualInvalidated of type Microsoft.Toolkit.Uwp.UI.Lottie.ILottieVisualSourceClass in file C:\Program Files\WindowsApps\24936DolphinTechnologies.WebDroid-ConvertWebsiteto_1.0.6.0_x64__b9gpbj0g87vwm\Microsoft.Toolkit.Uwp.UI.Lottie.winmd references the non-Windows Runtime type Microsoft.UI.Xaml.Controls.IDynamicAnimatedVisualSource. Windows Runtime types can reference only Windows Runtime types.
The type Microsoft.UI.Xaml.Controls.IAnimatedVisual referenced by type Microsoft.Toolkit.Uwp.UI.Lottie.ILottieVisualSourceClass in file C:\Program Files\WindowsApps\24936DolphinTechnologies.WebDroid-ConvertWebsiteto_1.0.6.0_x64__b9gpbj0g87vwm\Microsoft.Toolkit.Uwp.UI.Lottie.winmd was not found. All types referenced in metadata files must be discoverable.
Parameter value of method add_AnimatedVisualInvalidated of type Microsoft.Toolkit.Uwp.UI.Lottie.LottieVisualSource in file C:\Program Files\WindowsApps\24936DolphinTechnologies.WebDroid-ConvertWebsiteto_1.0.6.0_x64__b9gpbj0g87vwm\Microsoft.Toolkit.Uwp.UI.Lottie.winmd references the non-Windows Runtime type Microsoft.UI.Xaml.Controls.IDynamicAnimatedVisualSource. Windows Runtime types can reference only Windows Runtime types.
The type Microsoft.UI.Xaml.Controls.IAnimatedVisual referenced by type Microsoft.Toolkit.Uwp.UI.Lottie.LottieVisualSource in file C:\Program Files\WindowsApps\24936DolphinTechnologies.WebDroid-ConvertWebsiteto_1.0.6.0_x64__b9gpbj0g87vwm\Microsoft.Toolkit.Uwp.UI.Lottie.winmd was not found. All types referenced in metadata files must be discoverable.
Impact if not fixed: Microsoft store doesn't allow apps that don't pass Windows Runtime Metadata Validation.

Universal Windows Platform (UWP)
{count} votes

0 additional answers

Sort by: Most helpful