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