您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

31 行
1.2 KiB

  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 https://go.microsoft.com/fwlink/?LinkID=391919
  6. To fully enable reflection for App1.MyClass and all of its public/private members
  7. <Type Name="App1.MyClass" Dynamic="Required All"/>
  8. To enable dynamic creation of the specific instantiation of AppClass<T> over System.Int32
  9. <TypeInstantiation Name="App1.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>