NuGet-пакет, который я должен добавить, система.нет.протоколу HTTP.форматирование с помощью пакета NuGet
Я пробовал много пакетов, но и System.Net.HTTP.Formatting не устанавливается.
Ниже представлены пакеты у меня установлены, но я не нашел эту систему.Нет.Протоколу HTTP.Форматирования
Что я уже пробовал:
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>