diff options
Diffstat (limited to 'build.proj')
-rw-r--r-- | build.proj | 5 |
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->'"%(Identity)"', ' ')" + Condition="'$(RestoreRequired)' == 'true'" StandardOutputImportance="Low" CustomErrorRegularExpression="(^Unable to locate .*)|(^Updating the invalid lock file with .*)" ContinueOnError="ErrorAndContinue" /> |