Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Old nuget.exe version #34

Closed
trailmax opened this issue Feb 20, 2017 · 2 comments
Closed

Old nuget.exe version #34

trailmax opened this issue Feb 20, 2017 · 2 comments

Comments

@trailmax
Copy link

In my VSTS build I've encountered a build error:

Executing: "D:/a/1/s/tools/nuget.exe" install "xunit.runner.console" -OutputDirectory "D:/a/1/s/tools" -Source "https://packages.nuget.org/api/v2" -ExcludeVersion -NonInteractive -NoCache
##[error]The 'xunit.runner.console 2.2.0' package requires NuGet client version '2.12' or above, but the current NuGet version is '2.8.60717.93'.

So nuget.exe is version. And it is provided by the plugin, not VSTS server - see the path - it is taking ../tools/nuget.exe. And looking on the plugin source, this line is probably the cause. It downloads nuget.exe from https://nuget.org/nuget.exe and examining that file it is of version 2.8.6.

I'm unsure if this is what nuget.org/nuget.exe had all the time, but this URL seems to be inconsistent with default build.ps1, where nuget.exe is downloaded from https://dist.nuget.org/win-x86-commandline/latest/nuget.exe

I'd quickly jump to do a PR to update the url, but there is already an issue for #4 that talks about a broader picture. So what should we do?

@trailmax
Copy link
Author

Oh.. I see there is work in progress for this already: #30

@agc93
Copy link
Member

agc93 commented Mar 14, 2017

Similar issue to #31

Fixed by #30

@agc93 agc93 closed this as completed Mar 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants