1
votes

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.

1
Sounds vaguely similar to this: stackoverflow.com/questions/38383411/…Vaclav Turecek
And check that it is built against correct .Net Framework version.cassandrad
All built against .Net 4.5.2, I checkedDagrooms
stackoverflow.com/questions/38383411/… worked after restarting the machines after the installation, also packaged a release build to keep debug dlls out.Dagrooms

1 Answers

0
votes

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