How to: Delete a Source-controlled Item
When you delete a source-controlled item, Visual Studio deletes the local copy automatically if the source control plug-in supports namespace change propagation. Otherwise, it queries you for deletion instructions. For more about namespace change propagation, see Introducing Source Control.
Most source control plug-ins for Visual Studio do not delete items from a source control database permanently. For more information about how to permanently delete an item from source control, look in the third-party product documentation for your plug-in.
To delete a source-controlled item
In Visual Studio, open Solution Explorer.
Right-click the item to delete, and then click Delete.
In the Source Control dialog box, click Delete the item(s) locally and in the source control store.
In Solution Explorer, check in the item as supported by the source control plug-in.
Notify anyone who might have checked out the project to which the deleted item belongs, that you have deleted it.
If namespace change propagation is supported, have the other users perform a get operation to update their local copies. They receive a message notifying them of the deletion.
If namespace change propagation is not supported, you must tell the other users to manually remove their local copies of the deleted item.
See Also
Reference
Check Out For Edit Dialog Box (Source Control)