Skip to content

Commit

Permalink
Update NuGet.exe in initialization script to new version. (#2809)
Browse files Browse the repository at this point in the history
NuGet.exe fails to restore packages. Updating to NuGet 4.4 instead
of 4.0 resolves the issue.
  • Loading branch information
MSFTFox authored Nov 9, 2017
1 parent 46e59cd commit 50d5773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/init/Initialize-NuGet.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ $toolsBetaDir = Join-Path -Resolve $repoRoot ".tools\beta"

# Ensure nuget.exe is up-to-date
$nugetDownloadName = "nuget.exe"
. "$PSScriptRoot\Initialize-DownloadLatest.ps1" -OutDir $toolsDir -DownloadUrl "https://dist.nuget.org/win-x86-commandline/v4.0.0/nuget.exe" -DownloadName $nugetDownloadName -Unzip $false
. "$PSScriptRoot\Initialize-DownloadLatest.ps1" -OutDir $toolsDir -DownloadUrl "https://dist.nuget.org/win-x86-commandline/v4.4.0/nuget.exe" -DownloadName $nugetDownloadName -Unzip $false

# Ensure VSS.NuGet.AuthHelper is up-to-date
$credProviderDownloadFeed = "https://nuget.org/api/v2/"
Expand Down

0 comments on commit 50d5773

Please sign in to comment.