|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
Cannot delete folder
You are attempting to delete a folder that is not empty. It may contain items that have been excluded from the project; excluded items are not visible in the File System Editor.
To correct this error
In Solution Explorer, find any files that have been excluded. The Excluded property for the file will be set to true, and the Folder property will match the folder you are attempting to delete.
On the Edit menu, choose Remove.
Once all excluded files are removed, you should be able to delete the folder.