I have a service application that I compile as x86, x64, and any CPU. It installs correctly on x86 using either x86 or any cpu. It installs correctly on x64 if I compile as x86 or any CPU but if I include the wrong DLL the any CPU version crashes
so I have to be careful where the any CPU version is installed. If I compile the x64 it gives me a BadimageForamtException during install.
I would prefer to only have the two installs x64 and x86 which limits the odd errors when using the any CPU version but I need to resolve the BadimageForamtException first.
I know the problem is more than likely one of the related DLL is 32 bit only my problem is finding it. Is there a quick way of determining if a DLL is 32 or 64 bit? It would be nice if this detail was displayed in the list of properties in VS
when you click on the references.
John J. Hughes
View Complete Post