Service Fabric Deployment Error: "Could not load file or assembly or one of its dependencies"
Service Fabric Deployment Error: "Could not load file or assembly or one of its dependencies"
我在尝试将 Service Fabric 应用程序发布到集群时遇到错误 "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 构建的。
安装后重新启动机器后工作。我还打包了一个发布版本以防止调试 dll。
我在尝试将 Service Fabric 应用程序发布到集群时遇到错误 "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 构建的。