You can remove whole projects, folders, or files from a project, or you can
remove a project from a solution, using the Remove button on the
Project Explorer toolbar. Note that removing a source file from a project does
not remove it from disk.
To remove an item from the solution:
In the Project Explorer, select the item to remove.
Choose Edit > Delete.
In the Project Explorer, right-click the item to remove.