If a deployment has a folder full of user generated content, I exclude it from publishing in the .pubxml
file with:
<ExcludeFoldersFromDeployment>somefoldername</ExcludeFoldersFromDeployment>
If you use the Remove additional files at destination option for deploying, files in this folder are still removed from the live server.
<SkipExtraFilesOnServer>False</SkipExtraFilesOnServer>
Is there any way to make the deployment process, including the clean-up of the live server, ignore a specified folder?