Package requires NuGet Client version x 5


NuGet Package Manager

NuGet Icon
Have you just seen the error message “package requires NuGet client version”?  Do you want to know how to update NuGet?

I was just trying to install the new version of Google APIs Client Library, and ran across this error message.   This was a new error message to me.

NugetError

This error message is telling me that there is a new version of NuGet and if I want to install the package, then I have to use the new version of NuGet.    If you go to the Tools -> Extension manager menu in visual studio you will find a list of installed extensions.    Once you have found NuGet you will be allowed to update it.

Extension manager update Nuget

Once it is updated you will then have to restart Visual studio and you will be able to install your package.

Conclusion

Some packages can only be installed with the newest version of NuGet package manager.  If you see the “package requires NuGet client version” you know that you need to upgrade to a new version of NuGet, before you will be able to install the package.


About Linda Lawton

My name is Linda Lawton I have more than 20 years experience working as an application developer and a database expert. I have also been working with Google APIs since 2012 and I have been contributing to the Google .Net client library since 2013. In 2013 I became a a Google Developer Experts for Google Analytics.

Leave a Reply to Anurag Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

5 thoughts on “Package requires NuGet Client version x

  • Piyush Bhatnagar

    Thanks for sharing this. I had to actually uninstall my Nuget and reinstall the latest – did not see update option. And thanks for the article on google sheets – that is what landed me here eventually 🙂

  • Tom Carver

    Thanks for this. I’m actually getting this error on our CI server (which is presumably running a slightly out of date version of NuGet), so rather than upgrading NuGet on the server I’d like to be able to downgrade the package until the CI server can run it. However I can’t see “required NuGet client version” anywhere on the NuGet package info. Any advice on where to find this?