本文介绍了哪个NuGet包我必须使用NuGet包添加system.http.formatting的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我尝试了很多软件包,但是System.Net.HTTP.Formatting还没有安装。 以下是我安装的软件包,但也没有找到System.Net.HTTP.Formatter 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 api.nuget/packages/microsoft.aspnet.webapi.client.5.2.3.nupkg OK api.nuget/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 api.nuget/packages/microsoft.aspnet.webapi.client.4.0.30506.nupkg OK api.nuget/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
发布评论