简体   繁体   中英

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

I'm getting the error "Could not load file or assembly {project dll} or one of its dependencies. The specified module could not be found" when attempting to publish a service fabric application to a cluster.

This application publishes to the local cluster without any problem, and runs exactly as expected. However, when I attempt to publish the application to the cluster, it fails, stating that a project dll cannot be found.

The missing dll is in the list of dlls that get packaged with the application, and all of its dependencies are non-local (system.dll, system.net.dll, etc.). The project is built for x64 to run with Service Fabric.

This answer worked after restarting the machines after the installation. I also packaged a release build to keep debug dlls out.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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