System.Data.SQLite

Login
This project makes use of Eagle, provided by Mistachkin Systems.
Eagle: Secure Software Automation
Ticket Hash: 4393d28361a294bba37f3686b41bdf0c38fb5a4b
Title: Current Released Binaries are built with AnyCPU
Status: Closed Type: Build_Problem
Severity: Severe Priority: Immediate
Subsystem: Build_Automation Resolution: Fixed
Last Modified: 2011-07-07 04:37:59
Version Found In: 1.0.72.0
Description:
Hi,
I'm using the pre-built binaries on the download page since I couldn't get things to compile and there are a few issues:

1. The binary does not work on 64 bit systems.  I believe this is due to the system.data.sqlite.dll been built under anycpu rather than x86. (I tried building my main application using anycpu and x86, both failed on x64 systems.  The older system.data.sqlite.dll from robert simpson does work.)

2. The released binary comes in two parts and is not combined into a single assembly.  It may be worthwhile releasing multiple versions of the binaries.  i.e. x64, x86, compact framework version etc.

3. As a feature request, it would be very useful if system.data.sqlite could work on both x64 and x86.  This could potentially be done by releasing multiple versions of the un-managed assemblies under different names and late binding to the appropriate version depending upon the cpu type detected.  It would increase package size but it would mean that applications could be built under anycpu rather than x86.

<hr /><i>anonymous claiming to be Roman added on 2011-05-11 17:00:07 UTC:</i><br />
Also, it is not quite clear how the recent trick with adding the bin directory to the path is going to work for both x86 and x64 applications on x64 machines. On x64 machines, does this directory contain two platform dependent versions of interop DLL with different names? That would be a possible solution but otherwise it is not going to work now. (Sorry, I did not try 1.0.72 on x64 yet, so I do not actually know how it is done).


<hr /><i>mistachkin added on 2011-07-01 03:38:55 UTC:</i><br />
In the next release, there are going to be different binary and setup packages for x86 and x64.