While installing this package Microsoft.Net.Http via Nuget console I got this error:
Install-Package : The \'Microsoft.Net.Http 2.2.28\' pac
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
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/