Search code examples
visual-studio-2010publishing-site

VS2010 - publish website, empty folders are ignored


In visual studio 2010, when publishing a website, it seems that empty folders are not being published.

I am quite sure that this behavior were introduced in vs2010. I cant find it documented anywhere, not sure if I should call it a feature or a bug... Anyway, is it possible to revert to the old behavior as I wish to keep my folder structure on the production server.


Solution

  • This is actually a limitation of vs2010 as reported on the Microsoft connect site

    http://vishaljoshi.blogspot.com/2007/11/wdp-does-not-publish-empty-folders.html

    http://connect.microsoft.com/VisualStudio/feedback/details/546356/publish-deploy-does-not-deploy-empty-folders