I am trying to debug a service application and when I run setup project I get the above error when installing the project. How do I determine which dependency is missing in visual studio??
I have no Build errors. Build is successfully.
That's not a missing dependency message. There are two reasons for this:
A cross architecture call, 32/64 bit as NicoRiff says. Somewhjere in the calling sequence of managed code (probably a custom action) there is a cross-bitness call.
A NET 2.0 assembly has been loaded into the NET 4.0 runtime and won't run. That's the same issue as here: