I have a WCF service that depends on 32-bit DLLs, and as such it needs to run in 32-bits mode. However, on a 64-bits Windows 7 machine, Visual Studio 2010 starts WcfServiceHost.exe in 64-bits, and when it tries to load my service, it throws a BadImageFormatException
.
How can I debug a 32-bits WCF service on a 64-bits machine?