Harutyun Dokhoyan
Harutyun Dokhoyan

Reputation: 75

Visual Studio 2022 Startup project could not launch

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.

Upvotes: 3

Views: 5120

Answers (2)

Lakshin Karunaratne
Lakshin Karunaratne

Reputation: 455

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.

Upvotes: 6

shehanpathi
shehanpathi

Reputation: 332

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.

Upvotes: 0

Related Questions