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

Accepted answer
  1. Roy Li - MSFT 33,371 Reputation points Microsoft Vendor
    2020-06-17T06:50:02.233+00:00

    Hello,

    Welcome to Microsoft Q&A!

    I checked the Toolkit document of Lottie, it only supports build 17763 or higher. Please make sure the target version and the min version of your project meet the version requirement.

    Thank you.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.