title: Error BC30002 - Type XXX is not defined
body: <p>OK, this begins to drive me crazy. I have an asp.net webapp. Pretty straightforward, most of the code in the .aspx.vb, and a few classes in App_Code.</p>
  
  <p>The problem, which has begun to occur only today (even though most of the code was already written), is that once in a while, I have this error message :</p>
  
  <blockquote>
    <p>Error BC30002: Type ‘XXX’ is not defined</p>
  </blockquote>
  
  <p>The error occurs about every time I modify the files in the App_Code folder. EDIT : OK, this happens also if I don't touch anything for a while then refresh the page. I'm still trying to figure out exactly how to trigger this error.</p>
  
  <p>I just have to wait a little bit without touching anything, then refresh the page and it works, but it's very annoying.</p>
  
  <p>So I searched a little bit, but nothing came up except imports missing. Any idea ?</p>