title: Errors in Windows Forms controls in designer view
body: <p>On occasion, I get the following error in design mode of some user controls in Visual Studio 2008:</p>
  
  <blockquote>
    <p>The file 'UserControl.vb' does not
    support code parsing or generation
    because it is not contained within a
    project that supports code.</p>
  </blockquote>
  
  <p>It doesn't happen on a consistent basis, but it happens enough to be annoying.  Are there any common causes of this error?</p>
  
  <p>And yes, it is in a project that supports code - last I checked, WinForms projects typically have code in them!</p>