diff --git a/tools/NuGetPackager/PackCommand.cs b/tools/NuGetPackager/PackCommand.cs index 687d0e0d64..264fb4af11 100644 --- a/tools/NuGetPackager/PackCommand.cs +++ b/tools/NuGetPackager/PackCommand.cs @@ -36,7 +36,7 @@ namespace NuGetPackager props += $";dep_{++idx}={depVersion}"; } - var buildCommand = Command.CreateDotNet("build", + var buildCommand = Command.CreateDotNet("build", new[] { project.ProjectFile.ProjectFilePath, "--configuration", config }, configuration: config); @@ -129,15 +129,15 @@ namespace NuGetPackager return Environment.GetEnvironmentVariable("KOREBUILD_NUGET_EXE"); } - var nugetPath = Path.Combine(_baseDir, ".build", "nuget.3.5.0-rc1.exe"); + var nugetPath = Path.Combine(_baseDir, ".build", "nuget.3.5.0.exe"); if (File.Exists(nugetPath)) { return nugetPath; } - Console.WriteLine("log : Downloading nuget.exe 3.5.0-rc1".Bold().Black()); - - var response = await new HttpClient().GetAsync("https://dist.nuget.org/win-x86-commandline/v3.5.0-rc1/NuGet.exe"); + Console.WriteLine("log : Downloading nuget.exe 3.5.0".Bold().Black()); + + var response = await new HttpClient().GetAsync("https://dist.nuget.org/win-x86-commandline/v3.5.0/NuGet.exe"); using (var file = new FileStream(nugetPath, FileMode.CreateNew)) { response.EnsureSuccessStatusCode();