Visual studio report System.Reflection.MissingMetadataException when compile using .net native tool chain

Viewed 145

My app build and run successfully, without checking the option Compile with .net navite too chain.

After I check the option, vs report the errors.

Exception thrown: 'System.Reflection.MissingMetadataException' in System.Private.Interop.dll
Windows.Foundation.IReference`1<Double>

What can I do to successfully run the app? enter image description here

1 Answers

Finally I found out that it's due to a third party controls called HN.Controls.ImageEx. I unreferenced it, my project runs ok.

I'm contacting the author to handle this.

Related