diff options
author | Christopher Costa <chcosta@microsoft.com> | 2015-05-06 05:09:01 +0300 |
---|---|---|
committer | Christopher Costa <chcosta@microsoft.com> | 2015-05-06 05:09:01 +0300 |
commit | b489fb355395e1305706aad397198ad2c662241a (patch) | |
tree | d0b303bb2194577153ada031222826850381470d /dir.targets | |
parent | 30779d0b272b4eb7e4108ea3aaabbf45f07a6310 (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.targets | 2 |
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" |