Hi

My company has a Windows Service written on .Net v2 which I am trying to 
get working on Mono running in Linux.

I have one problem.  I'd like to keep the same project and source files 
for both but the service uses the windows ADO.Net provider.  Is there a 
way I can identify in the project file and source files that I am 
compiling against the Mon framework.

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 :)

Thanks

Dave
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to