Visual Studio 2022 hangs on debugging and compiling

Mariusz 10 Reputation points
2023-03-30T18:18:02.0833333+00:00

What can cause Visual Studio 2022 to hang while debugging and compiling?

I have windows 11. My pc specification is: ryzen 5 5600, nvidia geforce 3070 and 32gb ram ddr4 (3200).

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,599 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 25,551 Reputation points Microsoft Vendor
    2023-03-31T03:12:16.1766667+00:00

    Hi @Mariusz, 

    Welcome to Microsoft Q&A!

    What is your project type?

    Please update your VS2022 to the latest version with Visual Studio Installer.

    Besides, please check if you have anti-virus software or third-party extensions installed, please temporarily disable them.

    You can disable the installed extensions under Extensions > Manage Extensions > Installed

    Sincerely,

    Anna


    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.