Reputation: 3852
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
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
Reputation: 47987
To update NuGet in Visual Studio to the latest version you can use the Extensions Manager.
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