简体   繁体   中英

Unable to find 'Microsoft.Net.Http' package in VS 2013

I'm trying to install Microsoft.Net.Http Package from Nuget in VS Studio 2013 with Update 4

PM Install-Package Microsoft.Net.Http

Getting the following error:

Install-Package : Unable to find package 'Microsoft.Net.Http'.
At line:1 char:1
+ Install-Package Microsoft.Net.Http
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], InvalidOperationException
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand

you could include using System.Net.Http; It's the same package. I've added the NuGet-package Microsoft.Net.Http via the Package Manager Console/GUI, but it references to System.Net.Http.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM