Reputation: 51084
My dev machine is 32 bit, and my target is a 64 bit web server. I normally just avoid overwriting the 64 bit SQLite assemblies on the web server, but I would like to be able to agnostically just always build and publish, and have the choice of assemblies taken care of behind the scenes. How do I go about this?
Upvotes: 0
Views: 1753
Reputation: 1216
To avoid platform specific issues, "Any CPU" as your target will make sure that your binary will run fine on both platforms.
Keep in mind that those binaries built on 32-bit systems will run using the WOW64 emulation layer on 64-bit systems.
Probably the document 64-bit Applications will cover your question.
Upvotes: 7
Reputation: 936
multiple build configurations in Visual Studio will let you do this to target for x86 and x64 ....
Upvotes: 0