Currently it is https://www.nuget.org/packages/NuGet.CommandLine/4.7.0.
This prevents updates from clients < 4.3 to 4.7.0.
//cc @rrelyea
//cc @NuGet/nuget-client
Wouldn't 4.2 clients update to 4.6 and then update the next time to 4.7?
@emgarten
Yeah that's true.
It's just inconvenient :)
@emgarten I for example consume the package through Chocolatey which doesn't handle semver2 yet. So SemVer2 might not be an issue for people consuming it through nuget.exe, but there might also be other clients which are more of an issue.
this is not just inconvenient, it actually doesn't work. NuGet.exe can't update self from 4.6.2 to 4.7.0 since self-updater still uses V2 api which doesn't support semver2.
So we have to publish NuGet.Commandline 4.7.0 without semver2
Related: https://github.com/NuGet/Home/issues/4197
Self updater uses the CoreV2 APIs.
@jainaashish Thanks for fixing this. Do you plan to also publish a version of nuget.commandline 4.7 without metadata to nuget.org or will this only be fixed with the next release?
Yes, we're working towards that and will be done in next couple of days.
Done
Most helpful comment
Wouldn't 4.2 clients update to 4.6 and then update the next time to 4.7?