【问题标题】:Zip file error when releasing from VSTS to Azure Web App从 VSTS 发布到 Azure Web App 时出现 Zip 文件错误
【发布时间】:2020-06-14 20:15:52
【问题描述】:

我在 VSTS 中创建了发布定义,该定义采用构建的 .net core 3.0 Web 应用程序并将构建推送到 Azure Web 应用程序。它工作了 6 个多月,但最近在部署步骤上失败了。

Possibly unsupported ZIP platform type, 62
##[error]Error: Offset is out of bounds

我也读过这个response。我检查了工作目录中的 zip 文件,并且可以解压缩它们。

【问题讨论】:

  • 测试了 Zip 部署到 Azure Web App,但我无法重现此问题。你能分享Build step definitionDeploy Step definition吗?您还可以设置变量 system.debug = true 并再次运行管道。然后就可以得到详细的调试日志了。

标签: asp.net-core azure-devops azure-pipelines-release-pipeline


【解决方案1】:

我找到了! 恶意软件检测工具会删除已发布的文件。

【讨论】:

    猜你喜欢
    • 2018-10-26
    • 1970-01-01
    • 2019-05-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-10-16
    • 1970-01-01
    相关资源
    最近更新 更多