If you are trying to publish the project (cognitive services speech) but web deploy is complaining about locked file. How can I troubleshoot , what is wrong ? :) Well follow the below lines,
First thing you can try is - restart your application. If still things doesn't work, you can try below options:
- Take your app offline before performing deployment and make sure to add below offline rule in your .pubxml
- And at last, update your app settings file with MSDEPLOY_RENAME_LOCKED_FILES=1
<PropertyGroup>
<EnableMSDeployAppOffline>true</EnableMSDeployAppOffline>
</PropertyGroup>
Post a Comment