Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix build when symbols aren't stripped
  • Loading branch information
elinor-fung committed Aug 3, 2022
commit be12dda102378179eaf94a4765fe21fba5a36126
5 changes: 4 additions & 1 deletion src/native/corehost/corehost.proj
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,12 @@
Outputs="$(SingleFileHostDestinationPath);$(SingleFileHostSymbolsDestinationPath)"
DependsOnTargets="ResolveProjectReferences"
Condition="'$(RuntimeFlavor)' != 'Mono'">
<Copy SourceFiles="$(SingleFileHostPath);$(SingleFileHostSymbolsPath)" DestinationFiles="$(SingleFileHostDestinationPath);$(SingleFileHostSymbolsDestinationPath)" />
<Copy SourceFiles="$(SingleFileHostPath)" DestinationFiles="$(SingleFileHostDestinationPath)" />
<Exec Condition="'$(TargetOS)' == 'windows'"
Command="&quot;$(DotNetTool)&quot; exec @(InjectResourceTool) --bin &quot;$(DacPath)&quot; --image &quot;$(SingleFileHostDestinationPath)&quot; --name MINIDUMP_EMBEDDED_AUXILIARY_PROVIDER" />

<!-- Copy symbols if they exist. We may not have separate symbols if they were not stripped from the native binary itself. -->
<Copy SourceFiles="$(SingleFileHostSymbolsPath)" DestinationFiles="$(SingleFileHostSymbolsDestinationPath)" Condition="Exists('$(SingleFileHostSymbolsPath)')" />
</Target>

<Target Name="PrepareSingleFileHostWithEmbeddedDac"
Expand Down