繁体   English   中英

服务结构部署错误:“无法加载文件或程序集或其依赖项之一”

[英]Service Fabric Deployment Error: “Could not load file or assembly or one of its dependencies”

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

暂无
暂无

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM