Breaking MsBuild package & deploy into separate MsBuild and MsDeploy commands

后端 未结 3 1660
被撕碎了的回忆
被撕碎了的回忆 2021-01-31 06:37

I\'m having a few problems breaking out an MsBuild package+deploy command into two separate commands. (I need to do this to pass additional parameters to MsDeploy).

The

3条回答
  •  一个人的身影
    2021-01-31 06:54

    You are able to specify the -setParam:name='',value='' flag when calling the MyProject.deploy.cmd file that is created when you generate a Package from a web project. The cmd is a friendly wrapper around msdeploy.exe, so you have no need to specify all the rest of the defaults.

    Here's the details: http://evolutionarydeveloper.blogspot.co.uk/2013/05/specifying-environment-variables-at.html

提交回复
热议问题