Do not deploy web.config


Is there a way to deploy an application with the “Deploy NuGet package” step without touching the existing web.config file ? I guess I need to unselect “Purge this directory before installation” option in cutom directory feature.

thanks for your help

Hi Sebastien,

Thanks for getting in touch! The only way to do what you want would be to never include web.config in your package that is being released if you want to keep the existing.
And you would have to use the Custom Install Directory feature and also not using the Purge directory flag as you have already figured out.