Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2022 WinForms designer hang on "Loading Designer..."

When I try to open a WinForms designer in my startup project in a solution, I get a screen "Loading designer...", "You can continue working while the designer is loading in the background". This screen stays forever and the designer is not loading. This seems to happen in any form or control in the project.

If I try to open the designer for another form in another project in the same solution, I get this screen but after a few seconds, the designer is opened.

I tried to clean the project, delete the ".VS" directory, reboot the machine, nothing helped...

Any ideas?

like image 635
user1510694 Avatar asked Sep 03 '25 13:09

user1510694


2 Answers

I had the same problem.

Solved by running VS 2022 as Administrator.

and wait for Nuget Package Update

like image 70
Krishna Choudhari Avatar answered Sep 05 '25 16:09

Krishna Choudhari


I had same problem. I tried Restore Nuget Packages and problem solved.

  1. Select Tools -> Options -> NuGet Package Manager then check Allow Nuget to download missing packages.
  2. Right click on the solution and select Restore Nuget Packages.
  3. Close the solution and reopen it.
like image 27
ManoWar Avatar answered Sep 05 '25 16:09

ManoWar