[Mono-list] Single .dll targeted at multi platform but using sqlite, possible?
KeithBoynton
keithboynton at flaredesign.co.uk
Mon Aug 27 03:42:56 UTC 2012
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.
More information about the Mono-list
mailing list