Skip to content

Commit

Permalink
Include symbols in main package for NativeAOT runtime packs
Browse files Browse the repository at this point in the history
  • Loading branch information
akoeplinger committed Jan 9, 2024
1 parent c31a217 commit da68a48
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,4 +198,15 @@
</ItemGroup>
</Target>

<Target Name="IncludeSymbolFilesInNativeAOTPackage"
Condition="'$(BuildNativeAOTRuntimePack)' == 'true'"
AfterTargets="GetFilesToPackage">
<ItemGroup>
<!-- ILC needs the symbols next to the binaries -->
<FilesToPackage Update="@(FilesToPackage)" Condition="'%(FilesToPackage.IsSymbolFile)' == 'true'">
<IncludeAlways>true</IncludeAlways>
</FilesToPackage>
</ItemGroup>
</Target>

</Project>

0 comments on commit da68a48

Please sign in to comment.