This documentation is for EF7 onwards. For EF6.x and earlier release see

.NET Native

Fixing Reflection Errors

Applications using EF on Universal Windows Platform may encounter errors due to current limitations in .NET Native. These errors usually appear as MissingRuntimeArtifactException or MissingMetadataException, which are casued by incomplete reflection support in .NET Native. In most cases, these errors can be resolved by adding the proper Runtime Directive.


The following blog post includes more detail about how to correctly fix reflection errors on .NET Native:


This troubleshooter will help generate the appropriate entry for your runtime directives file: