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

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -