Skip to content

Commit 59433bc

Browse files
authored
Move to latest NuGet.exe (#23786)
* Move to latest NuGet.exe - 5.3.0 -> 5.6.0 - should improve performance and may improve reliability * Also switch from NuGet.Build.Tasks to NuGet.Packaging - move to 5.6.0 version here too - reduce transitive dependencies; we don't need them all
1 parent 02bc393 commit 59433bc

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

eng/tools/RepoTasks/RepoTasks.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</PropertyGroup>
1313

1414
<ItemGroup>
15-
<PackageReference Include="NuGet.Build.Tasks" Version="5.3.0" />
15+
<PackageReference Include="NuGet.Packaging" Version="5.6.0" />
1616
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="2.1.0" />
1717
</ItemGroup>
1818

src/Installers/Windows/GenerateNugetPackageWithMsi.ps1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,8 @@ if (-not (Test-Path $NuGetDir)) {
2525
}
2626

2727
if (-not (Test-Path $NuGetExe)) {
28-
# Using 5.3.0 to workaround https://github.com/NuGet/Home/issues/5016
2928
Write-Output "Downloading nuget.exe to $NuGetExe"
30-
wget https://dist.nuget.org/win-x86-commandline/v5.3.0/nuget.exe -OutFile $NuGetExe
29+
wget https://dist.nuget.org/win-x86-commandline/v5.6.0/nuget.exe -OutFile $NuGetExe
3130
}
3231

3332
& $NuGetExe pack $NuspecFile `

0 commit comments

Comments
 (0)