I'd like making a DLL that I have to use in different programs, in different PCs. One of this programs is Excel (that is 32 bit on 32 bit PCs and it is 64 bit on 64 bit PCs), and oneother is an application that is everywere 32 bit.
How can I make this DLL able to run in all environment?
The developer PC has .NET 2010 and W7/32 bit.
I try to compile the DLL in AnyCPU configuration, I can register the DLL with the 32bit into a 64bit machine, but Excel doesn't run it.
I try to compile the DLL in 64bit configuration (thinking to make two different DLL), but the compiler returns the following error:
The file "[...].dll" is not a valid assembly
And into the Release folder I found the dll and the xml files, but not the tlb file.
View Complete Post