eeadev
eeadev

Reputation: 3852

How to upgrade nuget with Visual Studio Express 2012

While installing this package Microsoft.Net.Http via Nuget console I got this error:

Install-Package : The 'Microsoft.Net.Http 2.2.28' package requires NuGet client version '2.8.1' or above, but the current NuGet version is '2.6.40627.9000'.

I Cant find anything easily on google.

Upvotes: 39

Views: 81556

Answers (3)

Md Shahriar
Md Shahriar

Reputation: 2786

enter image description here

Go to the Manage NuGet Packages and click Update button

Upvotes: 4

Suresh Kamrushi
Suresh Kamrushi

Reputation: 16086

Go to Menu and select Tools => NuGet Package Manager => Package Manager Console and type the below command:

PM> Install-Package NuGet.Client -Version 4.2.0 

For more info: https://www.nuget.org/packages/NuGet.Client/

Upvotes: -3

Matt Ward
Matt Ward

Reputation: 47987

To update NuGet in Visual Studio to the latest version you can use the Extensions Manager.

  1. From the Tools menu select Extensions and Updates.
  2. Then in the dialog that opens select the Updates tab.
  3. Then select Visual Studio Gallery.
  4. Select NuGet Package Manager for Visual Studio and click the Update button.

If you want to install NuGet 2.8.1 you can download the Visual Studio installer (VSIX) from NuGet's CodePlex web site

Upvotes: 91

Related Questions