| 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 | |
| 6 | Runtime Directives are documented at http://go.microsoft.com/fwlink/?LinkID=391919 |
| 7 | |
| 8 | To fully enable reflection for App1.MyClass and all of its public/private members |
| 9 | <Type Name="App1.MyClass" Dynamic="Required All"/> |
| 10 | |
| 11 | To enable dynamic creation of the specific instantiation of AppClass<T> over System.Int32 |
| 12 | <TypeInstantiation Name="App1.AppClass" Arguments="System.Int32" Activate="Required Public" /> |
| 13 | |
| 14 | Using the Namespace directive to apply reflection policy to all the types in a particular namespace |
| 15 | <Namespace Name="DataClasses.ViewModels" Seralize="All" /> |
| 16 | --> |
| 17 | |
| 18 | <Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata"> |
| 19 | <Application> |
| 20 | <!-- |
| 21 | An Assembly element with Name="*Application*" applies to all assemblies in |
| 22 | the application package. The asterisks are not wildcards. |
| 23 | --> |
| 24 | <Assembly Name="*Application*" Dynamic="Required All" /> |
| 25 | |
| 26 | |
| 27 | <!-- Add your application specific runtime directives here. --> |
| 28 | |
| 29 | |
| 30 | </Application> |
| 31 | </Directives> |