Nuget version not correct?

2019-01-23 12:11发布

I have a project that i cannot compile. When i try to do so I get the following error:

The 'Microsoft.Bcl.Build 1.0.14' package requires NuGet client version '2.8.1' or above, but the current NuGet version is '2.7.41115.310'.  

Normally this would be simple. After searching I found this guide: http://www.daimto.com/package-requires-nuget-client-version-x/

That explains how I can upgrade my Nuget client version. However, when i follow those steps, I find that I am already using the latest version of Nuget: 2.8.5

For some reason however, Visual Studio 2013 Ultimate is using an older version, and I don't understand why.

My install of Visual Studio Ultimate 2013 is a fresh install, after unninstalling Visual Studio for Web Express 2012. The previous version was giving me a considerable amount of problems and so I deleted it and moved on to 2013. I wonder if some cofig files were passed through, but I cant be sure.

How can I fix this problem?

7条回答
兄弟一词,经得起流年.
2楼-- · 2019-01-23 13:11

From ToolsExtensions and UpdatesInstalled, uninstall “NuGet Package Manager” and install it again.

查看更多
登录 后发表回答