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.
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.
Open NuGet Package Manager, go to the package, and uninstall (it should show the new version that you modified the packages. config file to). In NuGet Package Manager, go to the browse tab, find the package you just uninstalled, then install it again.
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
Go to the Manage NuGet Packages and click Update button
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With