Add NativeAOT runtime directives
Some checks failed
CI / Linux (push) Has been cancelled

This commit is contained in:
Ethan Lee 2024-12-02 12:19:21 -05:00
parent 64c97c2f29
commit 57a8444089
2 changed files with 11 additions and 1 deletions

View file

@ -13,7 +13,10 @@
<PropertyGroup>
<PublishAot>true</PublishAot>
</PropertyGroup>
<!--<Import Project="$(SolutionDir)NativeAOT_Console.targets" Condition="Exists('$(SolutionDir)NativeAOT_Console.targets')" />-->
<ItemGroup>
<RdXmlFile Include="rd.xml" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\FNA\FNA.Core.csproj">

7
rd.xml Normal file
View file

@ -0,0 +1,7 @@
<Directives>
<Application>
<Assembly Name="mscorlib" />
<Assembly Name="FNA" Dynamic="Required All" />
<Assembly Name="RogueLegacy" Dynamic="Required All" />
</Application>
</Directives>