The whole idea behind .NET and Mono (the CLI standard) is that you can compile with one and run on the other.  In theory, you shouldn’t need to compile with the Mono C# compiler in order for your programs to run on Mono.  I have successfully written C# programs in Visual Studio .NET 2003, copied the assemblies (.exe’s) to Linux and run under Mono with perfect results.  In other words, you shouldn’t need a “Mono” target in Visual Studio.

 

That being said, your SQLDMO.dll is a Win32 DLL – not managed code.  Therefore it probably will not work in the Linux environment.  There may be an open source Linux replacement, but not that I know of.

 

For all the open source coders, I have found SQLDMO to be buggy and poorly documented.  I believe that all it does can be reproduced with (more or less) standard T-SQL.  This would be a good thing to re-implement using managed code.

 

From your non-authoritative source,

 

Andrew

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rik Dodsworth
Sent: Friday, May 14, 2004 8:09 AM
To: [EMAIL PROTECTED]
Subject: [Mono-list] Microsoft .Net

 

We currently have a system written in Microsoft c#.Net, what we are aiming to do is distribute our product on linux.

Will it be possible to compile our product in MS C#.Net and copy the files on to linux and it work ?

Or will we have to make the code compile within mono first.

What would be nice is in the Debug/Release options in VS.Net we had another for Linux – Mono which used the mono compiler to compile our code or someother way to check within VS.Net that it will be compatible.

 

If all this is possible we use SQLDMO.Dll for getting information about sql servers on the network will this be possible to use from within linux.

 

Thanks in advance

 

Rik

Reply via email to