[Mono-list] Assembly / Namespace mapping (ASP.NET / SQLite)

Joe Audette joe.audette at gmail.com
Fri Feb 8 16:50:00 EST 2008

Hi Timothy,

Why not just use Mono.Data.SQLite on both platforms, thats what I do
in mojoPortal.
If you'd like I can send you Mono.Data.SQLite.dll which I compiled on
windows using VS.
It works fine on both windows and on linux. It also requires
Mono.Security.dll but I can send you that too.

Hope it helps,


On Feb 8, 2008 4:38 PM, Timothy Parez <timothyparez at gmail.com> wrote:
> Hi,
> I have a         website which I develop on Windows and deploy on Linux.
> I'm using SQLite which works on both platforms.
> The only differences are
> using System.Data.SQLite
> vs
> using Mono.Data.Sqlite
> And for the classes:
> SQLiteConnection
> vs
> SqliteConnection
> Aside from these differences, the code to use these libraries is the
> same.
> This means I have to use a series of sed commands to replace pieces of
> text.
> This isn't a real problem for final deployment, but can be a real PITA
> when testing online.
> Is there anyway to map these so I can keep System.Data.SQlite and
> SQLiteConnection, SQLiteCommand, etc... in my code
> and still force mono to use System.Data.Sqlite instead?
> (Guess changing the source code for Mono.Data.Sqlite would also be an
> option... but I'm hoping for something less drastic).
> Thank you.
> Timothy.
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list

Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
PO Box 621861
Charlotte, NC 28262
joe.audette at gmail.com

More information about the Mono-list mailing list