[Mono-list] Single .dll targeted at multi platform but using sqlite, possible?

Gabriel Ibanez gabriel.ibanez at live.com
Mon Aug 27 19:40:10 UTC 2012

Thanks a lot for your work.


-----Original Message-----
From: KeithBoynton <keithboynton at flaredesign.co.uk>
Date: Mon, 27 Aug 2012 03:42:56 
To: <mono-list at lists.ximian.com>
Subject: Re: [Mono-list] Single .dll targeted at multi platform but using
 sqlite, possible?

Just thought I'd post here in case any1 googles and reads this thread.

I resolved the problem and have successfully got an SQLite implementation
running on both Windows and MAC.

For my application code (.dll) I use Mono.Data.Sqlite, the DLL is compiled
on Windows and get's attached to the MonoMac project on the MAC. The problem
I was having above is a known issue with .NET 4.0 (not sure about 4.5) so I
successfully switched down to 3.5 and the above problem simply went away. I
use a pre-compiled windows sqlite3.dll in the root of the application set to
copy to the output directory at build time.

In the MAC environment I compiled SQLite using the column metadata flag and
put that in the root of the project just like in the Windows version.

All is working fine.

View this message in context: http://mono.1490590.n4.nabble.com/Single-dll-targeted-at-multi-platform-but-using-sqlite-possible-tp4656335p4656411.html
Sent from the Mono - General mailing list archive at Nabble.com.
Mono-list maillist  -  Mono-list at lists.ximian.com

More information about the Mono-list mailing list