【问题标题】:Service Fabric Deployment Error: "Could not load file or assembly or one of its dependencies"Service Fabric 部署错误:“无法加载文件或程序集或其依赖项之一”
【发布时间】:2016-11-21 15:32:03
【问题描述】:

我在尝试将服务结构应用程序发布到集群时收到错误 "Could not load file or assembly {project dll} or one of its dependencies. The specified module could not be found"

此应用程序发布到本地集群没有任何问题,并且完全按预期运行。但是,当我尝试将应用程序发布到集群时,它失败了,说明找不到项目 dll。

缺少的 dll 在与应用程序一起打包的 dll 列表中,并且它的所有依赖项都是非本地的(system.dll、system.net.dll 等)。该项目专为 x64 构建,可与 Service Fabric 一起运行。

【问题讨论】:

标签: c# azure-service-fabric


【解决方案1】:

This answer 在安装后重新启动机器后工作。我还打包了一个发布版本以排除调试 dll。

【讨论】:

    猜你喜欢
    • 2017-10-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-12-12
    • 2012-01-14
    • 1970-01-01
    相关资源
    最近更新 更多