Move CoreCLR to the modern build tools and dnx
[platform/upstream/coreclr.git] / tests / src / dirs.proj
1 <Project ToolsVersion="12.0" DefaultTargets="Build" InitialTargets="VerifyBuildTools" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2   <Import Project="dir.props" />
3
4   <Target Name="VerifyBuildTools" 
5     Inputs="$(BuildToolsTargetInputs)"
6     Outputs="$(BuildToolsTargetOutputs)"
7     >
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." />
10
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." /> 
13   </Target>
14
15   <Target Name="ResolveDisabledProjects" BeforeTargets="BuildAllProjects" >
16     <ItemGroup>
17       <DisabledProjects Include="TestWrappers*\*\*.csproj" />
18       <DisabledProjects Include="*\**\cs_template.csproj" />
19     </ItemGroup>
20     
21     <ItemGroup>
22       <Project Include="*\**\*.csproj" Exclude="@(DisabledProjects)"/>
23       <Project Include="*\**\*.ilproj" Exclude="@(DisabledProjects)"/>
24     </ItemGroup>
25   </Target>
26
27   <Import Project="..\dir.traversal.targets" />
28   
29   <!-- Override clean from dir.traversal.targets and just remove the full BinDir -->
30   <Target Name="Clean">
31     <RemoveDir Directories="$(BinDir)" />
32   </Target>
33 </Project>