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

前端 未结 6 825
猫巷女王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 13:57

    Go to the Functions tab in Azure and press the Restart button. Then try to publish again in Visual Studio. Sometimes closing the browser and opening it again or a combination of these things are nessesary.

    That is all you need to do.

提交回复
热议问题