1 <Project Sdk="Microsoft.Build.Traversal">
4 <!-- Subsets are already imported by Directory.Build.props. -->
5 <ProjectReference Include="@(ProjectToBuild)" />
6 <!-- Only include tasks.proj during restore and build incrementally via a target. -->
7 <ProjectReference Include="$(RepoTasksDir)tasks.proj" Condition="'$(MSBuildRestoreSessionId)' != ''" />
10 <Import Project="$(RepositoryEngineeringDir)SubsetValidation.targets" />
12 <!-- Upfront restore hooks -->
13 <Import Project="$(RepositoryEngineeringDir)restore\docs.targets" />
14 <Import Project="$(RepositoryEngineeringDir)restore\optimizationData.targets" Condition="'$(DotNetBuildFromSource)' != 'true'" />
16 <Target Name="BuildLocalTasks"
17 BeforeTargets="Build">
18 <MSBuild Projects="$(RepoTasksDir)tasks.proj"
19 Targets="BuildIncrementally" />