类型或名称空间名称'UI'在名称空间'System.Web'中不存在(您是否缺少程序集引用?) [英] The type or namespace name 'UI' does not exists in the namespace 'System.Web' (are you missing an assembly reference ?)

查看:339
本文介绍了类型或名称空间名称'UI'在名称空间'System.Web'中不存在(您是否缺少程序集引用?)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

名称空间中不存在类型或名称空间名称"UI"
在类中使用时,在App_code之外的类中使用"System.Web"(是否缺少程序集引用?)错误.

The type or namespace name ''UI'' does not exists in the namespace
''System.Web'' (are you missing an assembly reference ?) error when used in class when used in class outside the App_code.

推荐答案

system.web丢失...

尝试通过右键单击项目和Add Reference来添加引用,然后在添加引用窗口"的.net选项卡中查找system.web命名空间.
Seems like reference to system.web is missing...

Try adding reference by right clicking on project and Add Reference and look for system.web namespace in .net tab of Add reference Window..


这篇关于类型或名称空间名称'UI'在名称空间'System.Web'中不存在(您是否缺少程序集引用?)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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