Skip to content

Commit

Permalink
Don't copy msdia on Linux where it doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
trylek committed Jan 24, 2024
1 parent bb2763f commit 1bcf068
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreclr/tools/PdbChecker/PdbChecker.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<PackageReference Include="Microsoft.Diagnostics.Tracing.TraceEvent" Version="$(TraceEventVersion)" />
</ItemGroup>

<Target Name="CopyMsdiaForTargetArchitecture" AfterTargets="AfterBuild">
<Target Name="CopyMsdiaForTargetArchitecture" AfterTargets="AfterBuild" Condition="'$(TargetOS)' == 'windows'">
<PropertyGroup>
<ArchitectureFolder>$(TargetArchitecture)</ArchitectureFolder>
<ArchitectureFolder Condition="'$(TargetArchitecture)' == 'x64'">amd64</ArchitectureFolder>
Expand Down

0 comments on commit 1bcf068

Please sign in to comment.