visual studio 2010 ultimate designer error -
i have installed visual studio 2010 ultimate , when try open window form existing window application project gives me designer error "the designer not shown file because none of classes within can designed."
here image 
call stack error message image

it works fine if create new window application project, giving problem existing projects. please
your question gives little go on, considering don't show sample of code designer choking on.
my crystal ball tells me you've created custom control classes inherit other classes in project. when designer goes load custom control class, tries instantiate base class, , on inheritance hierarchy. if doesn't find 1 of base classes, errors.
the solution simple: make sure you've built application/library first, before trying open of custom controls in designer. way, of dependencies exist , available designer.
another possible problem, along same lines, custom controls using functionality available in full version of .net framework, project set target client profile. fix this, open project's properties window , change ".net framework 4.0 (client profile)" ".net framework 4.0".
if none of fixes problem, last glimmer can see in crystal ball based off name of code file you've shown in screenshot: extraservices.cs. doesn't sound me name of control. sounds that's regular old class. if that's case, can't design because there nothing designer display. code files can opened in designer inherit system.windows.forms.control or 1 of derived classes (e.g. system.windows.forms.form). right-click on , open regular code file.
Comments
Post a Comment