Visual Studio 2022 Startup project could not launch

Viewed 834

I have this error after updating Visual Studio 2022 to 17.2.0 version.

The error message pops up when I want to close the Visual Studio by X button enter image description hereor when I want to Build my solution with a few projects enter image description here(but when I build a solution with only one project the process succeeded without any error messages).

Thanks for your help in advance.

2 Answers

In the root directory of your project you will find a folder called .vs. (It is a hidden folder). Inside that you will find a folder with the name of your solution. Delete it and you should be good to go.

All was solved by deleting CurrentSettings.vssettings. It is usually located at Documents\Visual Studio 2022\Settings If not, go to Tools -> Options -> Environment -> Import and Export Settings ' to find the location of this file.

Related