NuGetVersionNotSatisfiedException
I'm getting this exception when trying to add a package from our own nuget server.
Message says:
- The Microsoft.Bcl 1.1.7 package requires NuGet client version 2.8.1 or above, but the current NuGet version is 2.7.
I've sent an automatic report but I'd like to know if there's a solution to this problem.
Details:
- My nuget.exe in the path has the version 2.8.5.
- Visual Studio 2013 is adding the same package just fine.
Thanks,
Message says:
- The Microsoft.Bcl 1.1.7 package requires NuGet client version 2.8.1 or above, but the current NuGet version is 2.7.
I've sent an automatic report but I'd like to know if there's a solution to this problem.
Details:
- My nuget.exe in the path has the version 2.8.5.
- Visual Studio 2013 is adding the same package just fine.
Thanks,
Comments
NuGet.NuGetVersionNotSatisfiedException: The 'System.Collections.Concurrent 4.0.10' package requires NuGet client version '3.0' or above, but the current NuGet version is '2.8.50926.602'.
I have Visual Studio 2013 installed with a slightly different NuGet verison: 2.8.60723.765, and when I try to install the same package, "System.Collections.Concurrent" is not even installed (also verified with Fiddler). I don't understand why LINQPad would attempt to install a package that isn't needed. Could it be that it is running in a .NET Core context, where it needs that package to have classes like ConcurrentDictionary that are normally included with the full .NET Framework?
In LINQPad, I get it when trying to install a single package (not even update). The same package installs fine in Visual Studio 2013 Update 5.