1 <Project ToolsVersion="12.0" DefaultTargets="Build" InitialTargets="RestoreAllPackages;VerifyBuildTools" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2 <Import Project="dir.props" />
4 <Target Name="VerifyBuildTools"
5 Inputs="$(BuildToolsTargetInputs)"
6 Outputs="$(BuildToolsTargetOutputs)"
8 <Error Condition="!Exists('$(BuildToolsInstallSemaphore)')"
9 Text="The build tools have not been installed. Please run buildtest.cmd from the root of the repo at least once to get the tools installed." />
11 <!-- If we enter this target at all then the inputs are newer then the outputs so give a warning. -->
12 <Warning Text="Looks like there may be an update to the build tools. Please run buildtest.cmd from the root of the repo to refresh the build tools." />
15 <Import Project="$(ToolsDir)depending.targets" Condition="Exists('$(ToolsDir)depending.targets')" />
16 <Target Name="RestoreAllPackages">
17 <Message Importance="High" Text="Restoring all package dependencies..." />
18 <CallTarget Targets="EnsureDependencies" />
22 <Target Name="ResolveDisabledProjects" BeforeTargets="BuildAllProjects" DependsOnTargets="RestoreAllPackages" >
24 <DisabledProjects Include="TestWrappers*\*\*.csproj" />
27 <Project Include="*\**\*.csproj" Exclude="@(DisabledProjects)"/>
28 <Project Include="*\**\*.ilproj" Exclude="@(DisabledProjects)"/>
32 <Import Project="..\dir.traversal.targets" />
34 <!-- Override clean from dir.traversal.targets and just remove the full BinDir -->
36 <RemoveDir Directories="$(BinDir)" />