Visual Studio loading the right (x86 or x64) dll

前端 未结 3 1025
陌清茗
陌清茗 2020-12-14 02:00

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

3条回答
  •  旧时难觅i
    2020-12-14 02:44

    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
    
    

提交回复
热议问题