12345678910111213141516171819202122232425262728293031
  1. <!--
  2. This file contains Runtime Directives used by .NET Native. The defaults here are suitable for most
  3. developers. However, you can modify these parameters to modify the behavior of the .NET Native
  4. optimizer.
  5. Runtime Directives are documented at http://go.microsoft.com/fwlink/?LinkID=391919
  6. To fully enable reflection for ViewShotExample.MyClass and all of its public/private members
  7. <Type Name="ViewShotExample.MyClass" Dynamic="Required All"/>
  8. To enable dynamic creation of the specific instantiation of AppClass<T> over System.Int32
  9. <TypeInstantiation Name="ViewShotExample.AppClass" Arguments="System.Int32" Activate="Required Public" />
  10. Using the Namespace directive to apply reflection policy to all the types in a particular namespace
  11. <Namespace Name="DataClasses.ViewModels" Seralize="All" />
  12. -->
  13. <Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata">
  14. <Application>
  15. <!--
  16. An Assembly element with Name="*Application*" applies to all assemblies in
  17. the application package. The asterisks are not wildcards.
  18. -->
  19. <Assembly Name="*Application*" Dynamic="Required All" />
  20. <!-- Add your application specific runtime directives here. -->
  21. </Application>
  22. </Directives>