Skip to content

Commit

Permalink
Fixed project structure
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-knuth committed Mar 16, 2022
1 parent 23c7f9b commit a14fc6d
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
37 changes: 37 additions & 0 deletions Scanner/Properties/Default.rd.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<!--
This file contains Runtime Directives used by .NET Native. The defaults here are suitable for most
developers. However, you can modify these parameters to modify the behavior of the .NET Native
optimizer.
Runtime Directives are documented at https://go.microsoft.com/fwlink/?LinkID=391919
To fully enable reflection for App1.MyClass and all of its public/private members
<Type Name="App1.MyClass" Dynamic="Required All"/>
To enable dynamic creation of the specific instantiation of AppClass<T> over System.Int32
<TypeInstantiation Name="App1.AppClass" Arguments="System.Int32" Activate="Required Public" />
Using the Namespace directive to apply reflection policy to all the types in a particular namespace
<Namespace Name="DataClasses.ViewModels" Serialize="All" />
-->

<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata">
<Application>
<!--
An Assembly element with Name="*Application*" applies to all assemblies in
the application package. The asterisks are not wildcards.
-->
<Assembly Name="*Application*" Dynamic="Required All" />


<!-- Add your application specific runtime directives here. -->
<Type Name="Windows.Foundation.TypedEventHandler{Microsoft.UI.Xaml.Controls.NavigationView,Microsoft.UI.Xaml.Controls.NavigationViewItemInvokedEventArgs}" MarshalObject="Public" />
<Type Name="Windows.Foundation.TypedEventHandler{Microsoft.UI.Xaml.Controls.NavigationView,Microsoft.UI.Xaml.Controls.NavigationViewSelectionChangedEventArgs}" MarshalObject="Public" />

<Type Name="Microsoft.UI.Xaml.Controls.NavigationView">
<Event Name="ItemInvoked" Dynamic="Required"/>
<Event Name="SelectionChanged" Dynamic="Required"/>
</Type>

</Application>
</Directives>
1 change: 1 addition & 0 deletions Scanner/Scanner.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,7 @@
<Content Include="License Texts\LicenseMicrosoftNETCoreUniversalWindowsPlatform.txt" />
<Content Include="License Texts\LicenseMicrosoftAppCenterCrashes.txt" />
<Content Include="License Texts\LicenseMicrosoftAppCenterAnalytics.txt" />
<Content Include="Properties\Default.rd.xml" />
</ItemGroup>
<ItemGroup>
<ApplicationDefinition Include="App.xaml">
Expand Down

0 comments on commit a14fc6d

Please sign in to comment.