Pergunta

Using Web Deploy 3, is there a way to exclude certain assemblies which a project depends on?

The scenario is:

  1. Install the first package, platform-like assemblies.
  2. Then we install product-like assemblies

Yes, I know that that we can use –enableRule:DoNotDeleteRule flag to prevent the second package from overwriting the files.

I think it is just a bit dirty to have unwanted assemblies in the second ZIP package.

Any thoughts?

Foi útil?

Solução

I used the following switch

-skip:objectname='filePath',absolutepath='logs\\.*\\someNameToExclude\.txt'

to skip certain files when deploying from commandline (I used sync verb)

Update As mentioned by msuhash - complete command-line reference can be found on technet (see skip setting).

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top