Breaking MsBuild package & deploy into separate MsBuild and MsDeploy commands

后端 未结 3 1651
被撕碎了的回忆
被撕碎了的回忆 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:44

    Add a delegation rule on the server using inetmgr to allow staging-deploy to carry out set-Acl operations. Inetmgr -> Click on server node -> Management Service Delegation (in Management) -> Click Add rule to the right -> Choose the template labelled "Set Permissions for Applications" -> Accept defaults and click OK.

    This should let you deploy any package or manifest with setAcl as long as the user you are deploying as, has permissions to the site you are deploying to.

提交回复
热议问题