Reputation:
I am trying to install a windows service written in c#/ VS2010, which uses a number of libraries I wrote. I am developing on a 32-bit machine, but I am deploying to a 64-bit machine. I keep getting the BadImageFormatException during the install process, telling me one of my assemblies (or a dependency) is not loadable. I have scoured my solution looking for non-64-bit assemblies, and I cannot find any. How can I find the guilty party?
Upvotes: 2
Views: 82
Reputation:
After more hours of frustration and the lack of an answer, I decided to rewrite the service as a console app. It installs, it works. Even if it is a bit ghetto.
Upvotes: 1