HttpClient的是不是在.NET 4.5中 [英] HttpClient is not found in .NET 4.5
本文介绍了HttpClient的是不是在.NET 4.5中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想使用新的的HttpClient
在.NET 4.5,但Visual Studio中抱怨说,它不存在。我有 System.Net
,但是当我键入 System.Net.Http
,它抱怨了这一点。
I am trying to use the new HttpClient
in .NET 4.5, but Visual Studio complains that it doesn't exist. I have System.Net
, but when I type System.Net.Http
, it complains for that too.
我应该下载一个新的分配该类?
Am I supposed to download a new distributable for this class?
推荐答案
添加引用 System.Net.Http
:
这篇关于HttpClient的是不是在.NET 4.5中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文