Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
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
6 changes: 0 additions & 6 deletions eng/native/naming.props
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,4 @@
<AdditionalSymbolPackageExcludes Condition="'$(LibSuffix)' != ''" Include="%2A%2A\%2A.a;%2A%2A\%2A$(LibSuffix)" />
</ItemGroup>

<!-- arcade is using long name for this property; 'SymbolFileExtension'.
remove this property group when arcade is updated with short name (SymbolsSuffix). -->
<PropertyGroup>
<SymbolFileExtension>$(SymbolsSuffix)</SymbolFileExtension>
</PropertyGroup>

</Project>
14 changes: 11 additions & 3 deletions src/native/corehost/corehost.proj
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,19 @@
<Target Name="PrepareSingleFileHostWithEmbeddedDacPrereqs">
<PropertyGroup>
<SingleFileHostPath>$(CoreCLRArtifactsPath)/corehost/singlefilehost$(ExeSuffix)</SingleFileHostPath>
<SingleFileHostSymbolsPath>$(CoreCLRArtifactsPath)/corehost/PDB/singlefilehost$(SymbolsSuffix)</SingleFileHostSymbolsPath>
<DacPath>$(CoreCLRArtifactsPath)/mscordaccore$(LibSuffix)</DacPath>
<SingleFileHostDestinationPath>$(DotNetHostBinDir)/singlefilehost$(ExeSuffix)</SingleFileHostDestinationPath>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetOS)' == 'windows'">
<!-- Symbols for Windows are in a PDB subdirectory -->
<SingleFileHostSymbolsPath>$(CoreCLRArtifactsPath)/corehost/PDB/singlefilehost$(SymbolsSuffix)</SingleFileHostSymbolsPath>
<SingleFileHostSymbolsDestinationPath>$(DotNetHostBinDir)/PDB/singlefilehost$(SymbolsSuffix)</SingleFileHostSymbolsDestinationPath>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetOS)' != 'windows'">
<!-- Symbols for non-Windows are next to the binary -->
<SingleFileHostSymbolsPath>$(CoreCLRArtifactsPath)/corehost/singlefilehost$(SymbolsSuffix)</SingleFileHostSymbolsPath>
<SingleFileHostSymbolsDestinationPath>$(DotNetHostBinDir)/singlefilehost$(SymbolsSuffix)</SingleFileHostSymbolsDestinationPath>
</PropertyGroup>
</Target>

<!--
Expand All @@ -37,11 +45,11 @@
Outputs="$(SingleFileHostDestinationPath);$(SingleFileHostSymbolsDestinationPath)"
DependsOnTargets="ResolveProjectReferences"
Condition="'$(RuntimeFlavor)' != 'Mono'">
<Copy SourceFiles="$(SingleFileHostPath);$(SingleFileHostSymbolsPath)" DestinationFiles="$(SingleFileHostDestinationPath);$(SingleFileHostSymbolsPath)" />
<Copy SourceFiles="$(SingleFileHostPath);$(SingleFileHostSymbolsPath)" DestinationFiles="$(SingleFileHostDestinationPath);$(SingleFileHostSymbolsDestinationPath)" />
<Exec Condition="'$(TargetOS)' == 'windows'"
Command="&quot;$(DotNetTool)&quot; exec @(InjectResourceTool) --bin &quot;$(DacPath)&quot; --image &quot;$(SingleFileHostDestinationPath)&quot; --name MINIDUMP_EMBEDDED_AUXILIARY_PROVIDER" />
</Target>

<Target Name="PrepareSingleFileHostWithEmbeddedDac"
DependsOnTargets="PrepareSingleFileHostWithEmbeddedDacPrereqs;PrepareSingleFileHostWithEmbeddedDacCore"
AfterTargets="Build"/>
Expand Down