Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
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

  1. 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.

  2. On the Edit menu, choose Remove.

    Once all excluded files are removed, you should be able to delete the folder.

See Also

Community Additions

ADD
Show:
© 2015 Microsoft