summaryrefslogtreecommitdiff
path: root/src/build.proj
blob: f125e8376539ddf29923a448ecbdeb5a5fe0984a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <Import Project="..\dir.props"/>
  
  <!-- List the projects that need to be built -->
  <ItemGroup>
    <Project Include="mscorlib\mscorlib.csproj" />
  </ItemGroup>

  <Import Project="..\dir.targets" />

  <Import Project="..\dir.traversal.targets" />

  <ItemGroup>
    <PDBSToMove Include="$(BinDir)mscorlib.pdb"/>
  </ItemGroup>

  <PropertyGroup>
    <MscorlibPDBPath>$(BinDir)mscorlib.pdb</MscorlibPDBPath>
  </PropertyGroup>

  <Target Name="MovePDB" AfterTargets="Build">
    <Move Condition="Exists($(MscorlibPDBPath))"
        SourceFiles="@(PDBSToMove)"
        DestinationFolder="$(BinDir)PDB"
    />
  </Target>
</Project>