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

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'build.proj')
-rw-r--r--build.proj5
1 files changed, 5 insertions, 0 deletions
diff --git a/build.proj b/build.proj
index 95f8e2b2cb..35dfd6f64e 100644
--- a/build.proj
+++ b/build.proj
@@ -80,7 +80,12 @@
<Message Importance="High" Text="[$([System.DateTime]::Now.ToString('HH:mm:ss.ff'))] Restoring all packages..." />
+ <IsRestoreRequired ProjectJsons="@(ProjectJsonFiles)" PackagesFolder="$(PackagesDir)">
+ <Output TaskParameter="RestoreRequired" PropertyName="RestoreRequired" />
+ </IsRestoreRequired>
+
<Exec Command="$(DnuRestoreCommand) @(DnuRestoreDir->'&quot;%(Identity)&quot;', ' ')"
+ Condition="'$(RestoreRequired)' == 'true'"
StandardOutputImportance="Low"
CustomErrorRegularExpression="(^Unable to locate .*)|(^Updating the invalid lock file with .*)"
ContinueOnError="ErrorAndContinue" />