Click here to Skip to main content
15,891,253 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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..
Posted
Comments
Richard C Bishop 13-Mar-14 10:57am    
Have you added a using statement to your page referencing the dll?
Sergey Alexandrovich Kryukov 13-Mar-14 15:34pm    
This is not "statement". It it is never required. Never. It's just for some convenience.
—SA
Richard C Bishop 13-Mar-14 15:51pm    
Very well, thank you for that info.
Sergey Alexandrovich Kryukov 13-Mar-14 16:45pm    
You are very welcome.
—SA
ZurdoDev 13-Mar-14 11:21am    
You should get a tooltip and see if that suggests what is wrong. All you need to do is add the reference.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900