Tip #105: Did you know … How to include empty directory when package a web application?

Posted: Apr 29, 2010  9 comments  

Average Rating

Tags
Package
VS 2010
Web Deployment

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

View the original post

Submit a Comment

  • Plain text is accepted.
  • URLs starting with http:// are converted to links.