Type or Namespace Not Found

H

hufaunder

I have a web project and a class library project. In the web project I
am trying to use some classes in the class library project.
Unfortunately, I can't compile it. The error is:

The type or namespace name MyNamespace.Test could not be found.

In my web project I did add a reference to my class library. Doing that
the dll of the class library was added to the Bin directory of my web
project. Also, in the code file of the web project (where I reference
the class library) I did add a using MyNamespace.Test. Intelisense even
marks the class referenced in MyNamespace.Test green. Also when I type
"using MyNamespace." intelisense give me a drop down that includes
"Test". So it does know the reference but somehow the compiler doesn't.
Any help is appreciated.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,821
Latest member
AleidaSchi

Latest Threads

Top