title: ASP.NET 2.0 Compilation Error BC30002: Type is not defined
body: <p>First of all, let me explain the situation, I know this is a bit complicated.
  And I apologize for my poor English.</p>
  
  <p>I have created a dll library which contains the classes I created.
  I tested the library with Console Application and web site created with Visual Studio 2005,
  everything works fine.</p>
  
  <p>So I copied the dll to the "Bin" folder of a running ASP.NET 2.0 web site, added reference to the dll file, imported the namespace, then trying to initiate instances of objects in the dll.</p>
  
  <p>The following occurred,
  Compilation Error BC30002: Type is not defined.</p>
  
  <p>Same error shows up when I tried to create instances of another object of a new class, which is place in the "App_Code" folder of the same web site.</p>
  
  <p>On the same web site, I have a third party dll library, I did exactly the same thing for that third party library and it works fine.</p>
  
  <p>I am not sure why my own dll library (in the "Bin" folder) and classes (in the "App_Code" folder) do not work.</p>
  
  <p>Please give me some hints how I can solve the problem.</p>