[英]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.