Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows form has disappeared in Visual Studio form designer

Yesterday I edited a form in Visual Studio's form designer. When I returned to it today, the designer shows nothing. I can open the properties window, select all the different constituent components and edit their properties, but they do not show up. The application builds fine and the form can be run as usual.

I've tried a couple of different solutions, such as checking the .csproj file has the form.Designer.cs included, but nothing has worked.

Strangely, I did see this problem earlier in the week, but it fixed itself when I unlocked my computer after returning from a coffee break.

Any suggestions?

like image 951
RickySpanish Avatar asked Dec 18 '22 15:12

RickySpanish


1 Answers

I had similar issues in VS2019. I resolved it by using:

Window > Reset Window Layout.

Then double clicked on the Form in the Solution Explorer.

Prior to this, double clicking the form was having no effect.

like image 165
JGFMK Avatar answered Mar 06 '23 16:03

JGFMK