缺少System.Net.WebClient [英] Missing System.Net.WebClient

查看:198
本文介绍了缺少System.Net.WebClient的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

我需要在开发中使用System.Net.WebClient类,但是当我开始编写"using System.Net"时,我发现Visual Studio的IntelliSense列表中缺少类.我尝试将.NET Framework Client Profile更改为.NET Framework,也尝试 在此处添加响应式引用,但仍然没有任何类.我使用Windows 7,Visual Studio 2010和.NET Framework 4.

I needed to use System.Net.WebClient class in my development, but when I started write "using System.Net", I found a lack of classes in IntelliSense list in my Visual Studio. I tried to change .NET Framework Client Profile to .NET Framework, also I tried to add the responsive reference there, but there were no classes still. I use Windows 7, Visual Studio 2010 and .NET Framework 4.

谢谢.

推荐答案

您是否添加了对System.dll程序集的引用?

have you added reference to System.dll assembly ?


这篇关于缺少System.Net.WebClient的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆