。C#/。NET - 帮助,我只有三个班在我System.Web命名 [英] C#/.NET - Help, I have only three classes in my System.Web namespace
问题描述
我发现这个问题时,我有一个建议,使用System.Web.HttpUtility类特定的任务。
I discovered the problem when I got a suggestion to use the System.Web.HttpUtility class for a certain task.
综观文件,我应该有关于50班的System.Web,但我只有这些:
Looking at the documentation, I should have about 50 classes in System.Web, but I have only these:
AspNetHostingPermission
AspNetHostingPermissionAttribute
AspNetHostingPermissionLevel
我做这样的假设,因为他们是展示智能感知了唯一的,我也得到构建错误尝试时使用任何其他类比这三种。
I make this assumption since they are the only ones showing up in intellisense, and I get build errors when trying to use any other classes than these three.
我使用.NET 3.5 SP1,并在参考对话框中,它说我必须对System.Web组件的2.0版本。
I'm using .NET 3.5 SP1, and in the reference dialog it says i have version 2.0 of the System.Web component.
我迷路了。可能是什么问题?
I'm lost. What could be wrong?
推荐答案
这是三个这是在系统参考。
These are the three which are in the System Reference.
让你在你的项目中加入的System.Web参考?
Have you added a reference to System.Web in your project?
这篇关于。C#/。NET - 帮助,我只有三个班在我System.Web命名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!