Red Swan
Red Swan

Reputation: 15553

Namespace not found, though added .dll

I have an ASP.NET 3.5 web application. I added the a class library project, that have class as clsOperation, this class have 3 methods. I build this class. Add .dll to my web application as reference.Biult my website. but while I am trying to add a header in the code behind (using my namespace) the class's namespace is not appearing in intellisense. So I can't use it.

What am I doing wrong?

Upvotes: 0

Views: 756

Answers (1)

Greg B
Greg B

Reputation: 14898

You mention that it doesn't appear in Intellisense. Sometimes intellisense in Visual Studio can be a bit flakey. Have you tried adding the using statement manually?

Also, you class library will have a default namespace and so the using syntax needs this in it. e.g.

using MyClassLibraryName.myClassName;

Upvotes: 1

Related Questions