c# - 在 c# Visual Studio 2012 中添加对 system.net.http 的引用

标签 c# visual-studio-2012

如何让 Visual Studio 2012 使用命名空间

using System.Net.http;

我找不到任何解决方案。 (直接解决)

最佳答案

您应该从项目中添加对 System.Net.Http.dll 的引用。为此,请在解决方案资源管理器中右键单击引用,然后单击添加引用。搜索System.Net.Http >,将其添加到您的引用文献中。然后你可以使用“using System.Net.Http;”

有关更多详细信息,请参阅文档:How to: Add or Remove References By Using the Add Reference Dialog Box

关于c# - 在 c# Visual Studio 2012 中添加对 system.net.http 的引用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21607994/

相关文章:

c# - 在 C# 中将页脚/EXIF(二进制数据)添加到 JPG 图像

c++ - C2977 : 'std::tuple' : too many template arguments (MSVC11)

c# - 部署到 Windows Azure 模拟器时 Windows 8 计算机重新启动

c++ - cpp代码在什么情况下必须编译链接成exe

c# - sa1200 是否所有 using 指令都必须放在命名空间 (StyleCop) 内纯粹是装饰性的?

c# - "Test to the Interface"是什么意思?

c# - 实体做得太多?

c# - 两个上下文相同的实体

c# - 我应该使用单声道来开发 linux 应用程序吗

visual-studio - 如何在 Visual Studio 中实际搜索所有文件