This post originated from an RSS feed registered with .NET Buzz
by Scott Hanselman.
Original Post: Visual Studio.NET MSI Setup Creation: "Cannot delete folder. Folder is not empty or it might...
Feed Title: Scott Hanselman's ComputerZen.com
Feed URL: http://radio-weblogs.com/0106747/rss.xml
Feed Description: Scott Hanselman's ComputerZen.com is a .NET/WebServices/XML Weblog. I offer details of obscurities (internals of ASP.NET, WebServices, XML, etc) and best practices from real world scenarios.
The real tragedy of this error message is that there is no way to show the excluded
files. So you have to guess. In this instance, a random Thumbs.db file
got into the Visual Studio Setup Solution (vdproj, and unfortunate extension that
describes and unfortunate tools) and was subsequently excluded. When it came
time to prune a directory of images, I was denied while deleting an IMAGES folder
- with no way to figure out which file was hidden in that folder. Only a miracle
and a hunch caused me to remove the stray Thumbs.db (it was certainly out of place).
Then the directory was deleted without incident.