MissingMetadataException when building Release version of UWP app
<p>I have an app that runs perfectly in Debug mode but causes this error in Release mode.
System.Reflection.MissingMetadataException
Additional information: 'Windows.ApplicationModel.Resources.ResourceLoader'</p>

<p>I have read that because the Release version compiles to .NET Native, I need to add a reflection directive to the default.rd.xml file.</p>

<p>Any help would be appreciated.</p>