Tip #105: Did you know … How to include empty directory when package a web application?
By design, Visual Studio 2010 will skip the empty directory when packaging web application project using web deploy. To get empty directory packaged and deployed, we can work around this by adding an empty stub file inside the directory to make it non-empty. Then web deploy will package and deploy the directory with the stub file.
- Xinyang Qiu |Visual Web Developer Team