CodeDog
CodeDog

Reputation: 643

Visual Studio 2010 create project with the same name and location that old removed project

I have created project in visual studio that had a wrong type of project. So I decided to remove it and create different type of project but with the same name and location in the solution. Visual Studio shows message:

The project directory already exists. When a project is created, it must be placed within a new folder of the same name. Choose a different name or location for your project.

Is there a way to resolve this?

Upvotes: 9

Views: 5379

Answers (2)

Gareth
Gareth

Reputation: 2791

Navigate to the folder on the file system and manually delete the old project directory.

Upvotes: 12

Andre
Andre

Reputation: 1238

When you remove a project from a solution, it's not deleted, but the reference to the project. So open the folder where the solution is located and delete the project folder.

Upvotes: 1

Related Questions