forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.targets
More file actions
23 lines (17 loc) · 899 Bytes
/
Directory.Build.targets
File metadata and controls
23 lines (17 loc) · 899 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<Project>
<Import Project="..\..\Directory.Build.targets" />
<ItemGroup>
<BuiltBinary Include="$(TargetPath)" />
</ItemGroup>
<!-- Target used to consolidate all PDBs into a single location -->
<Target Name="MoveSymbolFiles"
AfterTargets="Build"
Condition="Exists(@(BuiltBinary -> '%(RootDir)%(Directory)%(Filename).pdb'))"
Inputs="@(BuiltBinary -> '%(RootDir)%(Directory)%(Filename).pdb')"
Outputs="@(BuiltBinary -> '$(RuntimeBinDir)PDB/%(Filename).pdb')">
<Move SourceFiles="@(BuiltBinary -> '%(RootDir)%(Directory)%(Filename).pdb')"
DestinationFolder="$(RuntimeBinDir)PDB" />
</Target>
<!-- Import targets here to have TargetPath and other macros defined. Limit to CoreLib. -->
<Import Condition="'$(MSBuildProjectName)' == 'System.Private.CoreLib'" Project="$(RepositoryEngineeringDir)illink.targets" />
</Project>