Skip to content

Commit

Permalink
Always enable NativeAOT
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio0694 committed Jul 28, 2023
1 parent b0ba2b3 commit 773f8c4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
</PropertyGroup>

<!-- Same optional NativeAOT property group as in ComputeSharp.SwapChain.Cli -->
<PropertyGroup Condition="'$(COMPUTESHARP_SWAPCHAIN_D2D1_PUBLISH_AOT)' == 'true'">
<PropertyGroup>
<PublishAot>true</PublishAot>
</PropertyGroup>

<!-- Also include the .rd.xml file to fix some NativeAOT issues with CsWinRT -->
<ItemGroup Condition="'$(COMPUTESHARP_SWAPCHAIN_D2D1_PUBLISH_AOT)' == 'true'">
<ItemGroup>
<RdXmlFile Include="Properties\Default.rd.xml" />
</ItemGroup>

Expand Down

0 comments on commit 773f8c4

Please sign in to comment.