Azure Web App deploy: Web Deploy cannot modify the file on the destination because it is locked by an external process

前端 未结 11 795
甜味超标
甜味超标 2020-12-14 07:24

I am using the \"Azure Web App Deployment\" build step in VSTS to publish an ASP.NET Core API to an Azure Web App:

Occasionally, this step breaks with the f

11条回答
  •  离开以前
    2020-12-14 08:05

    I was struggling with the same locking issue.
    There are now a new Tasks (in Preview) that you can add for starting and stopping the App Service:

    Add a stop task before deployment and a start task after the deployment.

    This did the trick for me.

提交回复
热议问题