When I do a 'Publish' on my ASP.NET MVC website, I'm finding unnecessary empty folders in the publish folder.
This is annoying because I have to manually delete them so they don't get uploaded through FTP.
This happens even when I select the following radio-buttons:
- Delete all existing files prior to publish
- Copy
- Only files needed to run this application
It doesn't copy every folder, only one or two random folders. I have no idea why it chooses to copy just these folders, but not the others. They're not system-folders or anything - I made them myself.
Why is this happening?