azurew website continuous deployment - Web Deploy cannot modify the file 'XXX' on the destination because it is locked by an external process

后端 未结 4 452
长发绾君心
长发绾君心 2020-12-11 01:56

I\'m running into the following error when trying to deploy an azure website via TFS continuous deployment.

I\'m using the TfvcContinousDeploymentTemplate.12.xaml bu

4条回答
  •  青春惊慌失措
    2020-12-11 02:05

    You ran into a limitation of Azure and .NET

    Recommended is restarting your application. This can be done by changing an environment variable which in turn forces iis to restart.

    For example: In the azure dashboard:

    Set COR_ENABLE_PROFILING = 0
    

    then deploy and then again

     Set COR_ENABLE_PROFILING = 1
    

    You can find a description of this problem here

提交回复
热议问题