From 6d63c991049d19a3ca6fd32b1dd24de0a92d144a Mon Sep 17 00:00:00 2001 From: Pavel Penev Date: Thu, 7 Mar 2019 12:35:41 +0200 Subject: [PATCH] Changed NuGet download link for the Windows dependencies script The previous link downloaded a very old version of nuget.exe for some reason. --- thirdparty/fetch-thirdparty-deps.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thirdparty/fetch-thirdparty-deps.ps1 b/thirdparty/fetch-thirdparty-deps.ps1 index 50beafce62..7cf3fb37a5 100644 --- a/thirdparty/fetch-thirdparty-deps.ps1 +++ b/thirdparty/fetch-thirdparty-deps.ps1 @@ -8,7 +8,7 @@ if (!(Test-Path "nuget.exe")) # Work around PowerShell's Invoke-WebRequest not being available on some versions of PowerShell by using the BCL. # To do that we need to work around further and use absolute paths because DownloadFile is not aware of PowerShell's current directory. $target = Join-Path $pwd.ToString() "nuget.exe" - (New-Object System.Net.WebClient).DownloadFile("http://nuget.org/nuget.exe", $target) + (New-Object System.Net.WebClient).DownloadFile("https://dist.nuget.org/win-x86-commandline/latest/nuget.exe", $target) } if (!(Test-Path "StyleCopPlus.dll"))