HawkEye
HawkEye

Reputation: 205

WebDeploy command line tool to skip web.config file

I want webdeploy commandline command to skip - Delete / Update of web.config file and Website host header updates. How do i do that.

Currently command line ignores any skip command and updates binding to reflect non-production bindings.

Upvotes: 4

Views: 3047

Answers (1)

Richard Szalay
Richard Szalay

Reputation: 84734

You're looking for a skip rule:

msdeploy -verb:sync -source:<your_source> -dest:<your_source> ^
         -skip:File=web\.config

Upvotes: 10

Related Questions