Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to upgrade NuGet in Visual Studio 2013

Ran into the following error during the Google Cloud Platform Bookshelf tutorial:

Error 1 NuGet Package restore failed for project 2-structured-data: The 'Microsoft.NETCore.Platforms 1.0.1' package requires NuGet client version '2.12' or above, but the current NuGet version is '2.8.50926.663'..

Where do I update NuGet?

like image 465
IAmCoder Avatar asked Feb 04 '17 20:02

IAmCoder


People also ask

How do I update NuGet to latest version?

Right-click the Packages folder in the project, and select Update. This will update the NuGet package to the latest version. You can double-click the Add packages and choose the specific version.


2 Answers

Found it in the menu under Tools -> Extensions and Updates -> Updates tab -> Visual Studio Gallery.

like image 138
IAmCoder Avatar answered Sep 19 '22 21:09

IAmCoder


You can download the NuGet Package Manager for Visual Studio 2013 from

https://marketplace.visualstudio.com/items?itemName=NuGetTeam.NuGetPackageManagerforVisualStudio2013

and install it on your machine. The version of NuGet Package Manager for Visual Studio 2013 which is available on this download URL is 2.12.0.817.

like image 34
Brijesh Kumar Tripathi Avatar answered Sep 22 '22 21:09

Brijesh Kumar Tripathi