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.