. Net webapi runs for a period of time, and the vs2022 cannot be opened

盛 黄 1 Reputation point
2022-07-19T08:06:18.403+00:00

when I running webapi and no open vs2022 for a period of time, vs will cannot be opened, but the interface can work normally. I need to close from Task Manager and restart it. How to avoid this happening. I tried reinstalling, but it's useless.

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

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 25,806 Reputation points Microsoft Vendor
    2022-07-20T03:14:36.637+00:00

    Hi @盛 黄 ,

    Welcome to Microsoft Q&A!

    Do you mean that the opened VS2022 hangs when debugging ASP.NET Web API project? Or do you want to open a new VS2022 after running the Web API project?
    If possible, please share us detailed reproduce steps in order to investigate it further.
    Meanwhile, please create a new project and verify if the issue occurs in specific project or not.

    Please check if it is caused by some installed extensions.
    You can temporarily disable or uninstall them under Extensions > Manage Extensions > Installed and try again.

    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.

    0 comments No comments