简体   繁体   English

VSTS Azure功能的连续部署失败-ERROR_FILE_IN_USE

[英]VSTS Continuous Deployment of Azure Function fails - ERROR_FILE_IN_USE

Here's what I get when VSTS builds the function (made in VS2017, C#): 这是VSTS生成函数(在VS2017中制作,C#)时得到的结果:

Info: Updating file (intr\\bin\\CheckNewBlob.dll). 信息:正在更新文件(intr \\ bin \\ CheckNewBlob.dll)。 Failed to deploy web package to App Service. 无法将Web程序包部署到App Service。 Try to deploy app service again with Rename locked files option selected. 在选中“重命名锁定的文件”选项的情况下,尝试再次部署应用程序服务。 Error Code: ERROR_FILE_IN_USE Error: C:\\Program Files\\IIS\\Microsoft Web Deploy V3\\msdeploy.exe failed with return code: 4294967295 错误代码:ERROR_FILE_IN_USE错误:C:\\ Program Files \\ IIS \\ Microsoft Web Deploy V3 \\ msdeploy.exe失败,返回代码:4294967295

I set 'Take app offline' in the Deploy task but that didn't help. 我在“部署”任务中设置了“使应用程序脱机”,但这没有帮助。

Now, it says Try to deploy app service again with Rename locked files option selected . 现在,它显示尝试在选择重命名锁定的文件选项下尝试再次部署应用程序服务 Where is this option? 这个选项在哪里? Can't find it (in VSTS). 找不到(在VSTS中)。

The "Rename Locked Files" option only shows up once you have selected "Publish using Web Deploy", see the screenshot below: 仅在选择“使用Web Deploy发布”后,“重新命名锁定的文件”选项才会显示,请参见以下屏幕截图:

重命名锁定的文件

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 带有Git子模块的VSTS应用程序的连续部署在Azure上失败 - Continuous Deployment of VSTS app with Git submodules fails on Azure 从Visual Studio Online ERROR_FILE_IN_USE构建ASP.NET 5到Azure网站 - Build ASP.NET 5 to Azure websites from Visual Studio Online ERROR_FILE_IN_USE azure连续部署失败,部署命令上出现nuget客户端版本错误 - azure continuous deployment fails with nuget client version error on deployment command VSTS的Azure App Service连续部署 - Azure App Service Continuous Deployment with VSTS 从不同的VSTS帐户进行Azure持续部署 - Azure continuous deployment from different VSTS account Azure连续部署始终失败 - Azure continuous deployment always fails VSTS和Azure部署连续交付时出错 - Error with VSTS and Azure Deploy Continuous Delivery 如何使用Azure(个人)帐户设置VSTS(公司)帐户以进行持续部署 - How to setup an account of VSTS(corporate) with an account of Azure(personal) to Continuous Deployment Azure Web App(MVC 6)持续部署失败 - Azure Web App (MVC 6) continuous deployment fails Azure连续部署完成部署时如何调用Azure函数 - How to call Azure function when Azure continuous deployment completes a deployment
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM