Azure Function: Publish fails with message “Web Deploy cannot modify the file on the Destination because it is locked by an external process.”

前端 未结 6 906
猫巷女王i
猫巷女王i 2021-02-01 13:25

I am developing an Azure Functions Project and when I publish first time, OK. Then I publish again, this Error appears:

Web Deploy cannot modify the file

6条回答
  •  无人共我
    2021-02-01 14:05

    Following this article, you could also try adding this directive in your Web Deploy pubxml to instruct taking the Function app offline while deploying:

    True

提交回复
热议问题