How to preserve user-uploaded files on WebDeploy in Azure -


in azure release definition publish build artifact uat webapp using azure web deploy. deletes user-uploaded files (e.g. images).

how can release uat , preserve user uploaded files?

do somehow need perform equivalent of extracting .zip file on existing files rather replacing entire website directory contents of .zip?

you can add following msbuild property build

 /p:skipextrafilesonserver=true 

or add msdeploy provider flag:

-enablerule:donotdelete 

https://dotnetcatch.com/2016/02/01/webdeploymsdeploy-quick-tip-keep-existing-files-during-deployment/


Comments

Popular posts from this blog

database - How many Observations in SAS Sample Data Output -

emulation - Android map show my location didn't work -

ios - how to query based on pfobject/pfuser associated with another pfobject in parse.com? -