Possible duplicate:
Download x86 or x64 assembly
I am trying to compile any .NET.NET project, but I need to link the SQLite library, which has different versions for x86 and x64 platforms. Changing only the DLL versions to x64 does not help, the application does not start, I need to recompile the code using x64 help. When I add x86 and x64 links, they cannot compile due to conflicts. I can not compile the application using x86, because one of the system COM libraries that I use does not work under WOW64.
All 32-bit VSS applications (requesters, providers, and writers) must run as native 32-bit or 64-bit applications. Running them under WOW64 is not supported
http://social.msdn.microsoft.com/Forums/en-US/windowsgeneraldevelopmentissues/thread/eadf5dcd-fbd1-4224-9a56-b5843efebb15/
therefore, I need to build any CPU project, but the only solution to this problem that I see at the moment is to duplicate projects for x86 and x64. Anything better?
UPDATE
When I reference the x64 libraries in the project, but try to load the x86 libraries, I get the following exception.
The located assembly manifest definition does not match the assembly reference.
source
share