C# Winforms Designer won't open because it cannot find type in same assembly -
i'm getting following error
could not find type 'my.special.usercontrol'. please make sure assembly contains type referenced. if type part of development project, make sure project has been built using settings current platform or cpu.
but doesn't make sense my.special.usercontrol
in same assembly form. what's more, if view code on designer.cs file, there references my.special.usercontrol
seem fine. assembly builds fine, , runs fine well. it's designer that's having issues.
as such have our design work making adjustments designer.cs file hand. how can make designer work again?
there propably exception happening in load or initialize part of form / usercontrol. can try comment out code there , retry opening in designer?
you can use instance of visual studio attach debugger visual studio instance not letting open form. once exception occurs able pinpoint location goes wrong.
Comments
Post a Comment