I\'m working on Visual Studio in an x86. I would like to build my application for both x32 and x64. But I need to use the sqlite .net connector which has a dll for x86 apps
This slightly simpler answer than Preet Sangha's will not generate a warning when the project is loaded and only the conditionally accepted dll will appear in the Solution Explorer. So, overall, the appearance is cleaner, although more subtle. (This was tested in Visual Studio 2010.)
..\..\ThirdParty\P4.Net\clr4\x86\p4dn.dll
..\..\ThirdParty\P4.Net\clr4\x64\p4dn.dll