Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2017-07-03 20:16:52 +0300
committerGitHub <noreply@github.com>2017-07-03 20:16:52 +0300
commit02cc936e069cadca952fa5ab58da6bdb01960575 (patch)
treeee40544e8e474db1c0b57e5063fe3b871afb53ae /dir.traversal.targets
parent8345e61491258854d4b1e7424db013b448436c51 (diff)
Disable BuildInParallel for the RestoreAllPackages (#4050)
Fixes #4014
Diffstat (limited to 'dir.traversal.targets')
-rw-r--r--dir.traversal.targets13
1 files changed, 2 insertions, 11 deletions
diff --git a/dir.traversal.targets b/dir.traversal.targets
index 6a17968e2..897bd2bcf 100644
--- a/dir.traversal.targets
+++ b/dir.traversal.targets
@@ -55,19 +55,10 @@
<DefaultRestoreAllTarget Condition="'$(DefaultRestoreAllTarget)'==''">Restore</DefaultRestoreAllTarget>
</PropertyGroup>
- <!-- To Serialize we use msbuild's batching functionality '%' to force it to batch all similar projects with the same identity
- however since the project names are unique it will essentially force each to run in its own batch -->
- <MSBuild Targets="$(DefaultRestoreAllTarget)"
- Projects="@(Project)"
- Condition="'$(SerializeProjects)'=='true' AND '%(Identity)' != ''"
- Properties="RestoreAll=true"
- ContinueOnError="ErrorAndContinue" />
-
+ <!-- Forcing BuildInParallel=false. BuildInParallel=true clashes with nuget task parallel restore -->
<MSBuild Targets="$(DefaultRestoreAllTarget)"
Projects="@(Project)"
- Condition="'$(SerializeProjects)'!='true'"
- Properties="RestoreAll=true"
- BuildInParallel="true"
+ BuildInParallel="false"
ContinueOnError="ErrorAndContinue" />
<!-- Given we ErrorAndContinue we need to propagate the error if the overall task failed -->