in

System.Data.SQLite

An open source ADO.NET provider for the SQLite database engine

How to include both the x86 and x64 builds of the system.data.sqlite provider?

Last post 03-13-2008 9:42 AM by linc. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 03-13-2008 9:42 AM

    • linc
    • Top 75 Contributor
    • Joined on 10-25-2007
    • Posts 13

    How to include both the x86 and x64 builds of the system.data.sqlite provider?

    Hello everyone,

    I still haven't figured out what the "any cpu" build option is for. According to the name, i assume that it will compile a version that will run on both x64 and x86 systems but...what if i need to include an external library (such as system.data.sqlite)?

    I typically build my projects with "any cpu" and develop on a x64 machine.

    The problem is when i want to run the same application on a x86 environment: i use system.data.sqlite and, because i reference a x64 version during development, it will fail to load on x86 systems.

    The reason is quite obvious but...is there any way to work around this? Can i reference both x64 and x86 versions of libraries and have the CLR sort out which one to use?

     I know this is a little off topic for this forum but would be very grateful  if somebody could clear this out for me.


    Thanks in advance,
    Luís Silva

Page 1 of 1 (1 items)
Powered by Community Server (Commercial Edition), by Telligent Systems