1

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.

Ronen Ness
  • 9,923
  • 4
  • 33
  • 50
Dagrooms
  • 1,507
  • 2
  • 16
  • 42
  • Sounds vaguely similar to this: http://stackoverflow.com/questions/38383411/libsodium-64-dll-not-found-in-production-azure-service-fabric-cluster – Vaclav Turecek Jul 19 '16 at 00:20
  • And check that it is built against correct .Net Framework version. – cassandrad Jul 19 '16 at 08:01
  • All built against .Net 4.5.2, I checked – Dagrooms Jul 19 '16 at 14:09
  • http://stackoverflow.com/questions/38383411/libsodium-64-dll-not-found-in-production-azure-service-fabric-cluster worked after restarting the machines after the installation, also packaged a release build to keep debug dlls out. – Dagrooms Jul 19 '16 at 21:11

1 Answers1

0

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

Dagrooms
  • 1,507
  • 2
  • 16
  • 42