你错过了错误 [英] error are u missing

查看:112
本文介绍了你错过了错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在其中有一个项目,在此创建的多个名称空间和类中都有一个类库,因此已在asp项目中添加了它,但是当我在default.aspx.cs文件中使用它时,它会显示错误消息,因此您可以我的解决方案

I have a project in this I have a class library in this multiple namespaces and classes created so I have add this in asp project but when I use it in default.aspx.cs file it give a error message so can you give me solution

推荐答案

首先,检查是否已添加参考:在项目下查看并确保您的类库在参考"下列出.如果不是,请右键单击项目",然后使用添加引用",然后浏览到发行版本,或使用项目"来找到它.
其次,您的类库中的每个名称空间都具有using语句吗?如果没有,请添加它们.

否则,我们需要了解有关该错误的更多详细信息:消息是什么,它抱怨的代码是什么样的(请仅提供相关片段).
Firstly, check you have added a reference: Look under your project and make sure your class library is listed under "References". If it isn''t, right click the Project and use "Add Reference" then either browse to the release version, or use "Projects" to locate it.
Secondly, do you have using statements for each of the namespaces in your class library? If not, add them.

Otherwise, we need to know more detail about the error: what the message is, what the code it is complaining about looks like (relevant fragment only, please).


这篇关于你错过了错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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