question

KunderShreyas-2984 avatar image
0 Votes"
KunderShreyas-2984 asked SimpleSamples answered

Windows form form crashing visual studio in design time

I have a windows form project and i was trying to load the form in Visual Studio so that i can make changes to it. The form was taking lot of time to load and then eventually the visual studio crashed. The form is comming properly at runtime. But at design time it is crashing the visual studio as a result i am not able to do anything with it. Please let me know the solution to it?

windows-forms
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @KunderShreyas-2984,
>>The form was taking lot of time to load and then eventually the visual studio crashed.
What version of visual studio are you using? I suggest you update or repair your visual studio first.
In order to find out the reason more accurately, please provide more information and code about your form to reproduce the situation.
Best Regards,
Daniel Zhang

0 Votes 0 ·

Launch two VS instances and use one to attach to the other. Then reproduce the crash in the debuggee and you will learn what's up.

0 Votes 0 ·

1 Answer

SimpleSamples avatar image
0 Votes"
SimpleSamples answered

Execute Visual Studio in SafeMode. If you are able to open the form then you know the problem is caused by a third-party VSPackage (an extension of something like that) and you need to contact them about the problem. If the problem occurs in SafeMode then you need to report the problem to Microsoft, except you need to first ensure that VS is updated and that a repair (as @DanielZhang-MSFT says) does not help.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.