winforms - Visual Studio 2010 Designer Error on Run -


i using using vs2010 , if have form open in designer mode , run application designer tab no longer show form designer instead error displayed (and fixed restarting ide) saying:

"to prevent possible data loss before loading designer, following errors must resolved:"

1 error:

"the designer not shown file because none of classes within can designed. designer inspected following classes in file: ##### --- base class ##### not loaded. ensure assembly has been referenced , projects have been built"

i shows following call stack:

at system.componentmodel.design.serialization.codedomdesignerloader.ensuredocument(idesignerserializationmanager manager)
@ system.componentmodel.design.serialization.codedomdesignerloader.performload(idesignerserializationmanager manager)
@ microsoft.visualstudio.design.serialization.codedom.vscodedomdesignerloader.performload(idesignerserializationmanager serializationmanager)
@ system.componentmodel.design.serialization.basicdesignerloader.beginload(idesignerloaderhost host)

any appreciated annoying.

thanks,

joel.

i visual studio bug , then, , ignore error text, instead following:

  1. close design-tab
  2. reopens design mode double click in solution explorer, or right clicking source code tab , select view designer
  3. suddenly works again!

if not helping, may have change bullet 2 into: close , restart visual studio.

maybe can out.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -