I have a reference to a 32 bit dll
file in my Windows Service application
.
I'm using Any CPU
during the debug
and at this point the regular 32 bit version
of the dll file works fine. But, when I built it in 64 bits
and installed on a 64 Windows Service
I get bad image when using method from the dll file
.
I have a 64 bit version
of the dll
file but it does not work in my debug mode.
How do I make it use the 64 at release and the 32 in debug without manually remove and add the reference?