選択できるのは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>