VS 2022 Community Edition Hangs when loading projects

Cenk 1,001 Reputation points
2023-03-20T10:54:37.05+00:00

Hello,

I am using VS 2022 Community edition 17.5. Nowadays I am having issues opening existing projects (Blazor Server, Background Service, ASP.NET Core6 Web API). Why is this happening? It was working without any issues up to 1-2 weeks ago. This is killing me please help.

If I am lucky, I got this error and the project opens.

SharedScreenshot

Getting this message:

Ekran görüntüsü 2023-03-20 143030

But keeps most of the time hanging like this.

Ekran görüntüsü 2023-03-20 134327

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,048 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 30,356 Reputation points Microsoft Vendor
    2023-03-21T08:12:01.9666667+00:00

    Hello @Cenk,

    Thank you for taking time to post this issue in Microsoft Q&A forum.

    Nowadays I am having issues opening existing projects (…).

    May I confirm that this issue doesn’t appear on any newly created project?

    Please first try to clean the project cache files/folders by removing the hidden .vs, bin and obj folders and then open the projects again.

    If it doesn’t work, please try to repair Visual Studio from VS Installer.

    Feel free to let us know if it works this time.

    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.


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.