Changed NuGet download link for the Windows dependencies script
The previous link downloaded a very old version of nuget.exe for some reason.
This commit is contained in:
2
thirdparty/fetch-thirdparty-deps.ps1
vendored
2
thirdparty/fetch-thirdparty-deps.ps1
vendored
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user