My UWP app crashes on startup with the following exception when built with .net native (debug or release):
Exception thrown: 'System.Reflection.MissingMetadataException' in System.Private.Interop.dll
Windows.Foundation.IReference`1<Double>
It works without issues when running without .net native in debug mode. I tried to add the following runtime directive to prevent it being stripped, but without success:
<Type Name="Windows.Foundation.IReference{Double}" Dynamic="Required All" />
