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 'dir.targets')
-rw-r--r--dir.targets2
1 files changed, 2 insertions, 0 deletions
diff --git a/dir.targets b/dir.targets
index 284e22794e..da300aaa98 100644
--- a/dir.targets
+++ b/dir.targets
@@ -68,6 +68,8 @@
Outputs="$(ToolsDir)Microsoft.DotNet.Build.Tasks.dll;$(NugetToolPath);$(DnuToolPath)">
<Message Importance="High" Text="Restoring build tools..." />
+ <Copy Condition="Exists('$(NuGetCachedPath)')" SourceFiles="$(NuGetCachedPath)" DestinationFiles="$(NuGetToolPath)" SkipUnchangedFiles="true" />
+
<!-- Download latest nuget.exe -->
<DownloadFile FileName="$(NuGetToolPath)"
Address="https://www.nuget.org/nuget.exe"