哪个NuGet包我必须使用NuGet包添加system.net.http.formatting [英] Which NuGet package I have to add system.net.http.formatting by using NuGet package

查看:104
本文介绍了哪个NuGet包我必须使用NuGet包添加system.net.http.formatting的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试了很多软件包,但是System.Net.HTTP.Formatting还没有安装。

以下是我安装的软件包,但也没有找到System.Net.HTTP.Formatter < br $> b $ b

我尝试了什么:



I tried many package but also System.Net.HTTP.Formatting is not getting installed.
Below are the packages I had installed but also am not finding that System.Net.HTTP.Formatter

What I have tried:

Added package 'WebApiDoodle.Net.Http.Formatting.2.0.1' to 'packages.config'
Successfully installed 'WebApiDoodle.Net.Http.Formatting 2.0.1' to WebApplication5
Removing package 'Microsoft.AspNet.WebApi.Client.5.0.0' from folder 'c:\Users\dell 3555\Documents\Visual Studio 2015\Projects\WebApplication5\packages'
Removed package 'Microsoft.AspNet.WebApi.Client.5.0.0' from folder 'c:\Users\dell 3555\Documents\Visual Studio 2015\Projects\WebApplication5\packages'
Removing package 'WebApiDoodle.Net.Http.Formatting.3.0.0-pre01' from folder 'c:\Users\dell 3555\Documents\Visual Studio 2015\Projects\WebApplication5\packages'
Removed package 'WebApiDoodle.Net.Http.Formatting.3.0.0-pre01' from folder 'c:\Users\dell 3555\Documents\Visual Studio 2015\Projects\WebApplication5\packages'
PM> install-package Microsoft.AspNet.WebApi.Client
Attempting to gather dependency information for package 'Microsoft.AspNet.WebApi.Client.5.2.3' with respect to project 'WebApplication5', targeting '.NETFramework,Version=v4.5.1'
Attempting to resolve dependencies for package 'Microsoft.AspNet.WebApi.Client.5.2.3' with DependencyBehavior 'Lowest'
Resolving actions to install package 'Microsoft.AspNet.WebApi.Client.5.2.3'
Resolved actions to install package 'Microsoft.AspNet.WebApi.Client.5.2.3'
Removed package 'Microsoft.AspNet.WebApi.Client.4.0.20710' from 'packages.config'
Successfully uninstalled 'Microsoft.AspNet.WebApi.Client.4.0.20710' from WebApplication5
  GET https://api.nuget.org/packages/microsoft.aspnet.webapi.client.5.2.3.nupkg
  OK https://api.nuget.org/packages/microsoft.aspnet.webapi.client.5.2.3.nupkg 24ms
Installing Microsoft.AspNet.WebApi.Client 5.2.3.
Adding package 'Microsoft.AspNet.WebApi.Client.5.2.3' to folder 'c:\Users\dell 3555\Documents\Visual Studio 2015\Projects\WebApplication5\packages'
Added package 'Microsoft.AspNet.WebApi.Client.5.2.3' to folder 'c:\Users\dell 3555\Documents\Visual Studio 2015\Projects\WebApplication5\packages'
Added package 'Microsoft.AspNet.WebApi.Client.5.2.3' to 'packages.config'
Successfully installed 'Microsoft.AspNet.WebApi.Client 5.2.3' to WebApplication5
Removing package 'Microsoft.AspNet.WebApi.Client.4.0.20710' from folder 'c:\Users\dell 3555\Documents\Visual Studio 2015\Projects\WebApplication5\packages'
Removed package 'Microsoft.AspNet.WebApi.Client.4.0.20710' from folder 'c:\Users\dell 3555\Documents\Visual Studio 2015\Projects\WebApplication5\packages'
PM> Install-Package Microsoft.AspNet.WebApi.Client -Version 4.0.30506
Attempting to gather dependency information for package 'Microsoft.AspNet.WebApi.Client.4.0.30506' with respect to project 'WebApplication5', targeting '.NETFramework,Version=v4.5.1'
Attempting to resolve dependencies for package 'Microsoft.AspNet.WebApi.Client.4.0.30506' with DependencyBehavior 'Lowest'
Resolving actions to install package 'Microsoft.AspNet.WebApi.Client.4.0.30506'
Resolved actions to install package 'Microsoft.AspNet.WebApi.Client.4.0.30506'
Removed package 'Microsoft.AspNet.WebApi.Client.5.2.3' from 'packages.config'
Successfully uninstalled 'Microsoft.AspNet.WebApi.Client.5.2.3' from WebApplication5
  GET https://api.nuget.org/packages/microsoft.aspnet.webapi.client.4.0.30506.nupkg
  OK https://api.nuget.org/packages/microsoft.aspnet.webapi.client.4.0.30506.nupkg 41ms
Installing Microsoft.AspNet.WebApi.Client 4.0.30506.
Adding package 'Microsoft.AspNet.WebApi.Client.4.0.30506' to folder 'c:\Users\dell 3555\Documents\Visual Studio 2015\Projects\WebApplication5\packages'
Added package 'Microsoft.AspNet.WebApi.Client.4.0.30506' to folder 'c:\Users\dell 3555\Documents\Visual Studio 2015\Projects\WebApplication5\packages'
Added package 'Microsoft.AspNet.WebApi.Client.4.0.30506' to 'packages.config'
Successfully installed 'Microsoft.AspNet.WebApi.Client 4.0.30506' to WebApplication5
Removing package 'Microsoft.AspNet.WebApi.Client.5.2.3' from folder 'c:\Users\dell 3555\Documents\Visual Studio 2015\Projects\WebApplication5\packages'
Removed package 'Microsoft.AspNet.WebApi.Client.5.2.3' from folder 'c:\Users\dell 3555\Documents\Visual Studio 2015\Projects\WebApplication5\packages'
PM> 

推荐答案

搜索引擎是一个很棒的发明 - 看看第一个返回的结果是什么 NuGet Gallery | System.Net.Http.Formatting 5.2.3 [ ^ ]



万一这里不起作用的是其他300k ...... 搜索结果 [ ^ ]
Search engines are a wonderful invention - look what the first returned result was NuGet Gallery | System.Net.Http.Formatting 5.2.3[^]

Just in case that doesn't work here are the other 300k ... Search results[^]


这篇关于哪个NuGet包我必须使用NuGet包添加system.net.http.formatting的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆