I encounter very bad performance when I compile my UWP app with the .Net Native Toolchain enabled.
I profiled the running code (native) and it seems that methods relying on reflection (Unity IoC, Behaviors-SDK, Linq, sqlite-net) are the culprit.
I use the Default.rd.xml so far.
<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata">
<Application>
<Assembly Name="*Application*" Dynamic="Required All" />
</Application>
</Directives>
I have no MissingMetaDataExceptions so far. These only start as I expected when I remove the Application line.
Is there something I'm not seeing here? The app has very good performance without .Net Native. Does it help If I write the Default.rd.xml from scratch working through all MissingMetaDataExceptions which will come?