错误包括asp.net中的dll文件 [英] error including dll file in asp.net

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

问题描述

我已经在c#中创建了一个dll文件。如下所示..

命名空间abc

{

公共类class1

{

public void def()

{



}

}

}



i想在我的asp.net网络应用程序中包含这个dll。我添加了对它的引用添加引用方法,也在后面的代码中写了using abc。我甚至可以获得dll的类名。但是在编译时仍然给出错误

namespaceabc找不到(您是否缺少using指令或程序集引用)。是否还有其他方法可以包含dll文件?我是否需要将dll文件复制到我的apps bin文件夹?。我该怎么做?帮助我..

i have created a dll file in c#.For ex as follows..
namespace abc
{
public class class1
{
public void def()
{

}
}
}

i want to include this dll in my asp.net web app.I have added reference to it by add reference method,also written "using abc" in code behind.I am even able get the class name of dll.But still its giving the error while compiling
"namespace "abc" could not be found(are you missing a using directive or an assembly reference)".Is there any other method to include dll file? Do i need to copy the dll file to my apps bin folder?.How can i do this?help me..

推荐答案

这篇关于错误包括asp.net中的dll文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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