A UWP dashboard which provides live updates for the 'Personal Flash in Real-Time (Andy)' and 'Personal Flash in Real-Time (Tony)' artworks -- part of the 'Return to Ritherdon' project by Nicola Ellis. Documentation can be found at
https://git.abbether.net/return-to-ritherdon/rtr-docs/src/branch/master/eyes-and-ears
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
2.9 KiB
50 lines
2.9 KiB
<!-- |
|
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. --> |
|
|
|
<!-- Note: The Inclusion of the JSON Serialization Converters. |
|
=========================================================================== |
|
The Json.Serialization converts are needed so the app. can operate as "release". |
|
Without them, the app. throw a System.Reflection.MissingMetadataException |
|
when you try and run the app. using the "release" compiler setting. |
|
I added the lines of code below based on the Issue raised and discussed on |
|
GitHub. The link is https://github.com/dotnet/runtime/issues/978. |
|
--> |
|
<Type Name="System.Text.Json.Serialization.Converters.JsonConverterString" Dynamic="Required All" /> |
|
<Type Name="System.Text.Json.Serialization.Converters.JsonConverterUri" Dynamic="Required All" /> |
|
<Type Name="System.Text.Json.Serialization.Converters.JsonConverterBoolean" Dynamic="Required All" /> |
|
<Type Name="System.Text.Json.Serialization.Converters.JsonConverterInt32" Dynamic="Required All" /> |
|
<Type Name="System.Text.Json.Serialization.Converters.JsonConverterInt16" Dynamic="Required All" /> |
|
<Type Name="System.Text.Json.Serialization.Converters.JsonConverterByte" Dynamic="Required All" /> |
|
<Type Name="System.Text.Json.Serialization.Converters.JsonConverterDecimal" Dynamic="Required All" /> |
|
<Type Name="System.Text.Json.Serialization.Converters.JsonConverterGuid" Dynamic="Required All" /> |
|
<Type Name="System.Text.Json.Serialization.Converters.JsonConverterEnum" Dynamic="Required All" /> |
|
<Type Name="System.Text.Json.Serialization.Converters.JsonConverterDateTime" Dynamic="Required All" /> |
|
<Type Name="System.Text.Json.Serialization.Converters.JsonConverterDateTimeOffset" Dynamic="Required All" /> |
|
|
|
</Application> |
|
</Directives> |