Skip to content

Commit b439094

Browse files
authored
Merge pull request #2169 from sharwell/fix-2153
Update path to nuget.exe distribution
2 parents 3b0c7c0 + 7b5e316 commit b439094

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

build/build.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ If ($Version.Contains('-')) {
3030
$KeyConfiguration = 'Final'
3131
}
3232

33-
# download NuGet.exe if necessary
34-
$nuget = '..\.nuget\NuGet.exe'
33+
# download nuget.exe if necessary
34+
$nuget = '..\.nuget\nuget.exe'
3535
If (-not (Test-Path $nuget)) {
3636
If (-not (Test-Path '..\.nuget')) {
3737
mkdir '..\.nuget'
3838
}
3939

40-
$nugetSource = 'http://nuget.org/nuget.exe'
40+
$nugetSource = 'https://dist.nuget.org/win-x86-commandline/latest/nuget.exe'
4141
Invoke-WebRequest $nugetSource -OutFile $nuget
4242
If (-not $?) {
4343
$host.ui.WriteErrorLine('Unable to download NuGet executable, aborting!')

0 commit comments

Comments
 (0)