Automated Deployement of ASP.Net MVC Website In IIS server with a Continuous Deployment

后端 未结 2 1419
夕颜
夕颜 2021-01-26 05:46

I\'m trying to deploy a web application from Visual Studio Team Services Build. I\'m using Visual Studio Build task to build the project. Then, use command line task to execute

2条回答
  •  北荒
    北荒 (楼主)
    2021-01-26 06:28

    You cannot deploy locally on a Hosted Agent: you must deploy to another machine. The easiest way is to use VSTS Resource Management and and Agent running on the target machine with administrative privileges (I would suggest to run it non-admin and grant in IIS permission to the user to deploy).

提交回复
热议问题