Azure Function: Web Deploy cannot modify the file on the Destination because it is locked by an external process

Recently, while deploying Azure Function from Visual Studio, we got an error “Web Deploy cannot modify the file on the Destination because it is locked by an external process”.

To fix this issue, we created an application setting. There are 2 ways to do this:

  1. Create an Application Setting in the Function App in Azure portal:
    MSDEPLOY_RENAME_LOCKED_FILES = 1

Or,

2. Create…

Continue Reading Ajit Patra’s Article on their blog

Azure Function: Web Deploy cannot modify the file on the Destination because it is locked by an external process

Recently, while deploying Azure Function from Visual Studio, we got an error “Web Deploy cannot modify the file on the Destination because it is locked by an external process”. To fix this issue, we created an application setting. There are 2 ways to do this: Create an Application Setting in the Function App in Azure…

Blog Syndicated with Ajit Patra’s Permission

Author: Ajit Patra

Share This Post On

SCOTtish summit 2021

On February the 27th Scottish Summit 2021 will come to you as a virtual event. With over 250 sessions from all Microsoft technologies. You need to register for your FREE ticket and download the Scottish Summit App to see all the great sessions.