I am using Web Deployment Projects (http://msdn2.microsoft.com/en-us/library/aa479568.aspx
) to publish my website. It seems to work great so far. However, I ran into a problem I haven't been able to solve.
I have a "Uploads" folder (with subdirectories) where I allow users to upload files.
When I publish my site, I want to tell Web Deployment Projects to leave the "Uploads" folder on my production site alone since I don't want to overwrite the files that users have uploaded.
How can I accomplish this?
I tried the following:
However, this simply deletes the "Uploads" folder on my production site and doesn't publish the "Uploads" folder from my project.
I then came across the following:
I believe this will simply delete the "Uploads" directory and recreate it.
Is there any better way of doing this?