1 <Project ToolsVersion="12.0" DefaultTargets="Build" InitialTargets="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 <Target Name="ResolveDisabledProjects" BeforeTargets="BuildAllProjects" >
17 <DisabledProjects Include="TestWrappers*\*\*.csproj" />
18 <DisabledProjects Include="*\**\cs_template.csproj" />
22 <Project Include="*\**\*.csproj" Exclude="@(DisabledProjects)"/>
23 <Project Include="*\**\*.ilproj" Exclude="@(DisabledProjects)"/>
27 <Import Project="..\dir.traversal.targets" />
29 <!-- Override clean from dir.traversal.targets and just remove the full BinDir -->
31 <RemoveDir Directories="$(BinDir)" />