How to: Remove or Delete an Item or Project
Project items in SQL Server Management Studio projects are Queries, Connections, and Miscellaneous files. You can remove project queries and miscellaneous files from your solution without erasing the files from storage. Remove a project or item when it is not useful in the current solution but you want to include it in another solution.
To remove a project item
In Solution Explorer, select the project item you want to remove.
On the Edit menu, click Remove.
On the confirmation dialog, click Remove to remove the item from the project.
A removed item still exists on the file system. Therefore, you can add a removed item to its original solution or to another solution.
To remove a project
In Solution Explorer, select the project you want to remove.
On the Edit menu, click Remove.
On the confirmation dialog, click OK, to remove the project from the solution.
You can delete a project permanently, but you first need to remove any references to the project from SQL Server Management Studio solutions, and then use Microsoft Windows Explorer to permanently delete the associated files from storage.
To delete a project
In Solution Explorer, remove the project you want to delete from the solution.
In Windows Explorer, locate and select the files associated with the project or item you want to delete.
On the File menu, click Delete.
See Also
Tasks
How to: Add New Items to a Project
How to: Add Existing Items to a Project