Skip to content

Commit 11f4cf9

Browse files
authored
Add missing Default.rd.xml
1 parent 4c2f538 commit 11f4cf9

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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 https://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" Serialize="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>

0 commit comments

Comments
 (0)