Visual Studio 2022 not responding when saving a design file

61921288 0 Reputation points
2023-04-26T15:52:41.9833333+00:00

I am trying to add a new component to a design file, but whenever I try to save after adding it, Visual Studio stops responding and I have to close it. I have tried even deleting things from the design, but saving after that also leads to the same result. This is only happening with one specific design file, as I try modifying other design files and they have no issues. The file causing the problem is fairly complex, with lots of other control panels on it, which I imagine is contributing to the issue. I have tried telling the OS to prioritize the memory of Visual Studio, as well as optimize for performance, but neither had an impact. I looked at the memory usage of the program when the issue occurs, and it seems to not have any noticeable spike. I have also tried on a different computer, albeit with similar specs, and it still had the same issue. If there are any ideas as to how to fix this, they would be greatly appreciated. Thanks!

My specs are:
32 GB RAM @ 2400 MHz
Intel (R) Xeon(R) CPU E3-1225 v6 @ 3.30GHz

Developer technologies | Windows Forms
{count} votes

1 answer

Sort by: Most helpful
  1. khaled 0 Reputation points
    2023-08-25T13:40:32.22+00:00

    the same problem with vs 2022

    the project is winform .net core


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.