WebDeploy with MSBuild Not Deploying from TeamCity

前端 未结 6 1365
不思量自难忘°
不思量自难忘° 2021-02-08 13:34

I am trying to use MSDeploy to deploy an MVC project to the server using TeamCity. When I do this on my computer in powershell, using the following command:

msbu         


        
6条回答
  •  借酒劲吻你
    2021-02-08 14:00

    I had exactly the same issue! I've posted the solution I used over at: MsBuild not finding publish profile

    Basics were:

    • Install the Azure SDK 1.8 on the build server
    • Force the /P:PublishProfileRootFolder value to ensure MSBuild can locate the publish profile

提交回复
热议问题