[Mono-list] Mono Newbie Question

Adrien Dessemond adrien.dessemond at softhome.net
Fri Jul 20 12:10:09 EDT 2007

Hello Dave,

> My main issue is .net uses System.Data.SQLite and mono uses
> Mono.Data.Sqlite so I could do with knowing if there is a global default
> compilation symbol like MONO so I can use #if() to select which
> namespace to use.  I realise I also need to do the same in the project
> files reference section which may scupper my plans completely :)

A solution could be to make a namespace alias like that :

using System.Data.SQLite = SDSQL;
using System.Data.Sqlite = SDSQL;

Next refer to it with "SDSQL."

Thank you for your question, I just saw a concrete real-life example of
this C# language feature. But I would report this typography difference as
a bug anyway. I hope that will help you to fix your issue.

Kind regards,


More information about the Mono-list mailing list