I'm using Visual Studio's Publish
button to deploy my website, and want a different App_Data folder on the server. There's a checkbox for Leave extra files on destination (do not delete)
which prevents my App_Data folder from getting deleted, but then it'll eventually accumulate a lot of vestigial files as the website changes.
Is there any way to make it exclude just App_Data when it deletes everything?