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:
authorChristopher Costa <chcosta@microsoft.com>2015-05-06 05:09:01 +0300
committerChristopher Costa <chcosta@microsoft.com>2015-05-06 05:09:01 +0300
commitb489fb355395e1305706aad397198ad2c662241a (patch)
treed0b303bb2194577153ada031222826850381470d /dir.targets
parent30779d0b272b4eb7e4108ea3aaabbf45f07a6310 (diff)
Enable ability to restore nuget.exe from file system / network share before hitting nuget.exe.
[tfs-changeset: 1465421]
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"