I can not believe that I am paying something about 350$ and I need to troubleshoot it every day to access my project which I am working on for several weeks. I will try to find some alternatives as soon as I am done with this project. Thank you for everything, but this simply does not work and I having a lot of frustrations with my deadlines and I really do not need this to stuck me at the point where I am hopeless
Visual studio 2022 is not responding ,technically stops responding when i want to run the codes
Hey guys . For the past week visual studio has been slow ,it takes forever to launch , it doesn't want to display forms (whenever i press the start run thing after coding it will just freeze after a while it will say visual is not responding maybe after an hour it will show an error message that says since visual studio is not responding I should close the application/restart it .When I restart visual studio nothing changes it will still be slow /not respond when I run the program .I tried uninstalling it and reinstalled it ,but nothing changed . May someone please help me solve this issue please .
5 answers
Sort by: Most helpful
-
-
John Kears 20 Reputation points
2023-04-13T22:07:46.9333333+00:00 Having similar, disaster like issues. How many years are we to put up with this crap!@!@!@!!
-
Tianyu Sun-MSFT 33,381 Reputation points Microsoft Vendor
2023-04-14T07:35:23.1733333+00:00 Hello @56140202,
Welcome to Microsoft Q&A forum.
Please first try to clean VS cache(rename every folder called
ComponentModelCache
inC:\Users\username\AppData\Local\Microsoft\VisualStudio\17.0_XXXXXXXX
) and reset VS settings(rundevenv /ResetSettings
inDeveloper Command Prompt For Visual Studio 2022
).Please also check if you have installed any extensions, if so, try to disable them temporarily or try to run VS in Safe Mode(run
devenv /SafeMode
inDeveloper Command Prompt For Visual Studio 2022
). Please check if there’s any limit/antivirus which may block VS from building/displaying/running on your machine.Since there are many reasons for not responding, could you please collect and share us the ActivityLog.xml file for further check? To collect the log, please close VS => run
devenv /log
command inDeveloper Command Prompt For Visual Studio 2022
=> reproduce the issue => go to%APPDATA%\Microsoft\VisualStudio\<Version>\ActivityLog.xml
, share us the log file(avoid the privacy information) or share us the snippets of recorded error/warning message to check.If you changed any settings such as Registry, system environment variables, system files, windows files, VS files, and project configurations, please let us know.
If this issue only appears on a Windows Forms project which is based on .NET/.NET Core, then please consider submitting a ticket on our Developer Community for further check, as support for .NET based Windows Forms projects(Designer) are still in improvement.
Feel free to let us know the results.
Sincerely,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
-
Joe Fischer 0 Reputation points
2024-09-05T14:49:19.0766667+00:00 That solution worked for about 5 minutes. I ran a few reports and published. I then turned off VS and came back in a few minutes later and as soon as I clicked on Preview I froze again.
Any other ideas???
-
Marc Roussel 0 Reputation points
2025-02-25T02:05:18.6466667+00:00 Ok at first, I had the dialog to Open Recent but it was always hanging there so I decided to start vs empty so it doesn't open this dialog
Then I saw what was happening and why VS was hanging and had to kill it. Along with the empty solution pane, I saw Connecting to TFS which was never coming back from trying to connect so again had to kill VS. After 1 ou 2 tries, it finally connects and VS stops hanging.
The culprit for me ? TFS connecting but never succeed. This must be fixed to avoid UI freezes and have a timeout so we can retry ourself if it doesn't connect.