diff options
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" |