1 <?xml version="1.0" encoding="utf-8"?>
2 <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3 <Import Project="dir.props" />
6 <!-- We use build.proj instead of dirs.proj so we don't conflict with the TFS build-->
7 <Project Include="src\build.proj" />
10 <Import Project="dir.targets" />
12 <Import Project="dir.traversal.targets" />
14 <!-- The following properties are in place to keep the behavior of build.cmd while we work on the dev workflow steps. -->
16 <!-- To disable the restoration of packages, set RestoreDuringBuild=false or pass /p:RestoreDuringBuild=false.-->
17 <RestoreDuringBuild Condition="'$(RestoreDuringBuild)'==''">true</RestoreDuringBuild>
20 <!-- Override clean from dir.traversal.targets and just remove the full BinDir -->
22 <Delete Files="$(BinDir)mscorlib.*" />
23 <Delete Files="$(BinDir)System.Private.CoreLib.*" />
26 <Target Name="RestoreNETCorePlatforms" AfterTargets="Build" Condition="'$(RestoreDuringBuild)'=='true'">
27 <Exec Command="$(DnuRestoreCommand) "$(SourceDir).nuget/init/project.json" --source https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" />