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:
Pavel Penev
2019-03-07 12:35:41 +02:00
committed by reaperrr
parent 2c311a84c9
commit 6d63c99104

View File

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