File tree Expand file tree Collapse file tree 6 files changed +53
-40
lines changed
Expand file tree Collapse file tree 6 files changed +53
-40
lines changed Original file line number Diff line number Diff line change 11<Project >
22
3- <Import Project =" $(MSBuildThisFileDirectory)Common.props" />
4- <Import Project =" $(MSBuildThisFileDirectory)Build\Directory.Build.props" />
5-
6- <Choose >
7- <!-- Project selection can be overridden on the command line by passing in -projects. -->
8- <When Condition =" '$(ProjectToBuild)' != ''" >
9- <ItemGroup >
10- <ProjectToBuild Include =" $(ProjectToBuild)"
11- Exclude =" @(ProjectToExclude);$(RepoRoot)**\bin\**\*;$(RepoRoot)**\obj\**\*" >
12- <BuildInParallel Condition =" '%(Extension)' == '.nodeproj' OR '%(Extension)' == '.vcxproj' " >false</BuildInParallel >
13- <RestoreInParallel Condition =" '%(Extension)' == '.nodeproj' " >false</RestoreInParallel >
14- <!-- Also do not build in parallel w/in npm projects. -->
15- <AdditionalProperties Condition =" '%(Extension)' == '.nodeproj' OR '%(Extension)' == '.vcxproj' " >BuildInParallel=false</AdditionalProperties >
16- </ProjectToBuild >
17- </ItemGroup >
18- </When >
19- <Otherwise >
20- <ItemGroup >
21- <ProjectToBuild Include =" $(MSBuildThisFileDirectory)Build\Native.Traversal.proj" Condition =" '$(BuildNative)' == 'true'" BuildInParallel =" false" />
22- <ProjectToBuild Include =" $(MSBuildThisFileDirectory)Build\NodeJS.Traversal.proj" Condition =" '$(BuildNodeJS)' == 'true'" BuildInParallel =" false" />
23- <ProjectToBuild Include =" $(MSBuildThisFileDirectory)Build\Java.Traversal.proj" Condition =" '$(BuildJava)' == 'true'" BuildInParallel =" false" />
24- <ProjectToBuild Include =" $(MSBuildThisFileDirectory)Build\Managed.Traversal.proj" Condition =" '$(BuildManaged)' == 'true'" BuildInParallel =" false" />
25- <ProjectToBuild Include =" $(MSBuildThisFileDirectory)Build\Installers.Traversal.proj" Condition =" '$(BuildInstallers)' == 'true'" BuildInParallel =" false" />
26- </ItemGroup >
27- </Otherwise >
28- </Choose >
3+ <ItemGroup >
4+ <ProjectToBuild Include =" $(MSBuildThisFileDirectory)Build\Build.Traversal.proj" />
5+ </ItemGroup >
296
307</Project >
Original file line number Diff line number Diff line change 1+ <Project Sdk =" Microsoft.Build.Traversal" >
2+
3+ <Choose >
4+ <!-- Project selection can be overridden on the command line by passing in -projects. -->
5+ <When Condition =" '$(ProjectToBuild)' != ''" >
6+ <ItemGroup >
7+ <ProjectReference Include =" $(ProjectToBuild)"
8+ Exclude =" @(ProjectToExclude);$(RepoRoot)**\bin\**\*;$(RepoRoot)**\obj\**\*" >
9+ <BuildInParallel Condition =" '%(Extension)' == '.nodeproj' OR '%(Extension)' == '.vcxproj' " >false</BuildInParallel >
10+ </ProjectReference >
11+ </ItemGroup >
12+ </When >
13+ <Otherwise >
14+ <ItemGroup >
15+ <ProjectReference Include =" Native.Traversal.proj" Condition =" '$(BuildNative)' == 'true'" BuildInParallel =" false" />
16+ <ProjectReference Include =" NodeJS.Traversal.proj" Condition =" '$(BuildNodeJS)' == 'true'" BuildInParallel =" false" />
17+ <ProjectReference Include =" Java.Traversal.proj" Condition =" '$(BuildJava)' == 'true'" BuildInParallel =" false" />
18+ <ProjectReference Include =" Managed.Traversal.proj" Condition =" '$(BuildManaged)' == 'true'" BuildInParallel =" false" />
19+ <ProjectReference Include =" Installers.Traversal.proj" Condition =" '$(BuildInstallers)' == 'true'" BuildInParallel =" false" />
20+ </ItemGroup >
21+ </Otherwise >
22+ </Choose >
23+
24+ </Project >
Original file line number Diff line number Diff line change 1+ <Project >
2+
3+ <Import Project =" $([MSBuild]::GetPathOfFileAbove(Directory.Build.targets, $(MSBuildThisFileDirectory)..))" />
4+
5+ <Target Name =" GetReferencesProvided" Returns =" @(ProvidesReferenceOrRequiresDelay)" >
6+ <MSBuild Projects =" @(ProjectReference);@(ExplicitRequiresDelay)"
7+ Targets =" GetReferencesProvided"
8+ BuildInParallel =" true"
9+ SkipNonexistentTargets =" true" >
10+ <Output TaskParameter =" TargetOutputs" ItemName =" ProvidesReferenceOrRequiresDelay" />
11+ </MSBuild >
12+ </Target >
13+
14+ <Target Name =" CreateHelixPayload" Returns =" @(HelixWorkItem)" >
15+ <MSBuild Projects =" @(ProjectReference)"
16+ Targets =" CreateHelixPayload"
17+ BuildInParallel =" true"
18+ SkipNonexistentTargets =" true" >
19+ <Output TaskParameter =" TargetOutputs" ItemName =" HelixWorkItem" />
20+ </MSBuild >
21+ </Target >
22+
23+ </Project >
Original file line number Diff line number Diff line change 103103 Condition =" '$(BuildMainlyReferenceProviders)' == 'true' " />
104104 </ItemGroup >
105105
106- <Target Name =" GetReferencesProvided" Returns =" @(ProvidesReferenceOrRequiresDelay)" >
107- <MSBuild Projects =" @(ProjectReference);@(ExplicitRequiresDelay)"
108- Targets =" GetReferencesProvided"
109- BuildInParallel =" true" >
110- <Output TaskParameter =" TargetOutputs" ItemName =" ProvidesReferenceOrRequiresDelay" />
111- </MSBuild >
112- </Target >
113-
114106</Project >
Original file line number Diff line number Diff line change 44 <ProjectReference
55 Include =" $(RepoRoot)eng\Npm.Workspace.nodeproj;
66 $(RepoRoot)eng\Npm.Workspace.FunctionalTests.nodeproj"
7- RestoreInParallel =" false"
87 BuildInParallel =" false"
98 Exclude =" @(ProjectToExclude)" />
109 </ItemGroup >
Original file line number Diff line number Diff line change 1515 </PropertyGroup >
1616
1717 <Import Project =" ..\targets\Helix.Common.props" />
18- <Import Project =" ..\Build .props" />
18+ <Import Project =" ..\Common .props" />
1919 <Import Project =" ..\Versions.props" />
2020
2121 <!-- Microsoft.DotNet.Helix.Sdk.MultiQueue.targets splits $(HelixTargetQueues) into @(HelixTargetQueue) items. -->
165165
166166 <!-- In inner (per-queue) builds, Publish the test projects and create work items. -->
167167 <Target Name =" Gather" BeforeTargets =" BeforeTest" Condition =" '$(HelixTargetQueue)' != '' " >
168- <MSBuild Projects =" @(ProjectToBuild)"
169- BuildInParallel =" %(ProjectToBuild.BuildInParallel)"
170- Targets =" CreateHelixPayload"
171- SkipNonexistentTargets =" true" >
168+ <MSBuild Projects =" ..\Build\Build.Traversal.proj"
169+ Targets =" CreateHelixPayload" >
172170 <Output TaskParameter =" TargetOutputs" ItemName =" HelixWorkItem" />
173171 </MSBuild >
174172 </Target >
You can’t perform that action at this time.
0 commit comments