【エラー】_ ファイル内にデザインできるクラスがないため・・・・・

2011. 6. 14. 17:54



 

● 解決策 ●

===+===+===+===+===+===+===+===+===



===+===+===+===+===+===+===+===+===



↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓


===============================

Cause:

I don’t have any concrete reason for this, but I am assuming that
          VS2005 has some kind of assembly cache which it maintains and
          while designing the form, somehow it gets corrupted, hence we
          get this error.

 

Workaround:

Follow the steps and it should work fine then!

 

1. When you open your form and you get this error.
     Close all the forms.

2. Close VS.NET (make sure none of the forms are open at this time)

3. Delete "bin" and "obj" folder physically.

4. Open VS.NET

5. Rebuild your application

6. Try opening your forms now. It should work!



===============================




by artis