You can remove whole projects, folders, or files from a project, or you can remove a project from a solution using the Remove tool button on the project explorer’s toolbar. Removing a source file from a project does not remove it from disk.
Removing an item
To remove an item from the solution do one of the following:
- Click on the project item to remove from the Project Explorer tree view.
- On the Project Explorer toolbar, click the Remove button (or type Delete).
—or—
- Right click on the the project item to remove from the Project Explorer tree view.
- From the popup menu, click Remove.