I am using the following rule when I do a deploy of my package so that it skips the deployment of only the web.config file in the root:
-skip:objectName=filePath,absolutePath=.*MySite\\web\.config
I have also tried the following:
-skip:objectName=filePath,absolutePath=MySite\\web\.config
However, in either case I get the following lines in the output of the deploy tool:
Info: Using ID '620cd137-4898-43d4-9832-c86de7d95b6d' for connections to the remote server.
Info: Object filePath (MySite\web.config) skipped due to skip directive 'CommandLineSkipDirective 1'.
Info: Adding child filePath (MySite\Web.config).
Total changes: 1 (1 added, 0 deleted, 0 updated, 0 parameters changed, 14915 bytes copied)
As such it is still deploying the Web.config file even though it says that it is skipping it. Why is this not working correctly?