找不到System.Net.Http.Formatting dll [英] Can't find System.Net.Http.Formatting dll
问题描述
我有一个Visual Studio 2015 RC的全新安装.我没有安装VS2013.
I have a clean installation of Visual Studio 2015 RC. I don't have VS2013 installed.
我加载了一个解决方案,并且System.Net.Http.Formatting
引用已损坏,当我尝试添加引用时,我在GAC中找不到它.
I loaded a solution and the System.Net.Http.Formatting
reference is broken, when I try to add the reference I don't find it in the GAC.
推荐答案
在线阅读/搜索后,我发现曾经有一个System.Net.Http.Formatting
软件包,如果不再依赖于它,现在似乎不再使用它了.在nuget Microsoft.AspNet.WebApi.Client (>= 2.0.20710 && < 2.1.0)
上.到目前为止,您只需要安装Microsoft.AspNet.WebApi.Client
(我尝试了版本5.2.3
,它就可以正常工作).程序集System.Net.Http.Formatting, version=5.2.3.0
包含在软件包中,尽管我不知道它是否是唯一捆绑在其中的软件包.
After some reading/searching online I found that once there was a System.Net.Http.Formatting
package which now appears to be discontinued as one if it's dependencies can no longer be found on nuget Microsoft.AspNet.WebApi.Client (>= 2.0.20710 && < 2.1.0)
. As of right now what you should do is just install Microsoft.AspNet.WebApi.Client
(I tried version 5.2.3
and it works fine). The Assembly System.Net.Http.Formatting, version=5.2.3.0
is included in the package, though I don't know if it's the only one bundled there.
这篇关于找不到System.Net.Http.Formatting dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!