Fail to reference a class library in a web site

vs2005 , asp 2.0 csharp , csharp Tel Aviv-Yafo, Israel
  • 12 years ago
    Hi I added a reference to a web site. I can see the dll file under the web site Bin folder When I use the using statement in the web site , I receive error CS0246: The type or namespace name 'DALayer' could not be found (are you missing a using directive or an assembly reference?) This error do not appear when I add reference to another class library . It happens only when added to a web site Any help will be highly appreciated

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“A computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are, in short, a perfect match” - Bill Bryson