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"))