Visual studio 2022 is not responding ,technically stops responding when i want to run the codes

56140202 10 Reputation points
2023-04-13T18:47:44.6733333+00:00

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 .

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,620 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
942 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,208 questions
{count} votes

3 answers

Sort by: Most helpful
  1. 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!@!@!@!!

    4 people found this answer helpful.

  2. Vladimir Predolac 15 Reputation points
    2023-09-01T22:09:46.37+00:00

    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

    3 people found this answer helpful.

  3. Tianyu Sun-MSFT 27,356 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 in C:\Users\username\AppData\Local\Microsoft\VisualStudio\17.0_XXXXXXXX) and reset VS settings(run devenv /ResetSettings in Developer 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 in Developer 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 in Developer 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.