Skip to content

Commit

Permalink
Add NativeAOT runtime directives
Browse files Browse the repository at this point in the history
  • Loading branch information
flibitijibibo committed Dec 2, 2024
1 parent 64c97c2 commit 57a8444
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 4 additions & 1 deletion RogueLegacy.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
7 changes: 7 additions & 0 deletions rd.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<Directives>
<Application>
<Assembly Name="mscorlib" />
<Assembly Name="FNA" Dynamic="Required All" />
<Assembly Name="RogueLegacy" Dynamic="Required All" />
</Application>
</Directives>

0 comments on commit 57a8444

Please sign in to comment.