[Mono-list] Visual Studio and non-Windows deployment

Jonathan Pryor jonpryor at vt.edu
Wed May 10 06:45:22 EDT 2006


On Tue, 2006-05-09 at 19:08 -0600, Glen Farrell wrote:
> there's currently no Mono IDE for a Windows environment?

Correct, there is no Mono-specific IDE on Windows.

However, there is SharpDevelop, which MonoDevelop was originally ported
from:
	http://www.icsharpcode.net/OpenSource/SD

> Anyway, without a Mono IDE I guess I'm looking at using Visual Studio.
> (I realize I could use gtk#/Glade - but I'd rather have a full blown
> IDE, even if it means a bit more hassle when it comes to deploying).

You can use Gtk#/Glade from Visual Studio.NET too:

	http://forge.novell.com/modules/xfmod/project/?gtks-inst4win

> Now, I read the FAQ, and it said that I could still code in Visual
> Studio, and have my program run using Mono (as long as I avoided
> anything specific to .Net 2.0). But I'm unclear on how that applies to
> multi-platform deployment ... what would be involved in getting my
> program (writting in Visual Studio under Windows) running on a Mac or
> Linux box?

Copying and testing.  Lots of copying and testing. :-)

More specifically, once you've compiled your program under .NET, just
copy the .exe and any dependent .dll's -- just copy the whole directory
to be sure -- onto your Linux/Mac box, then run them as:

	mono your-program-name.exe

See what works, see what fails, and rewrite your code to compensate.

You may also want to see:

	http://www.amazon.com/gp/product/1590593308/sr=1-1/qid=1147257966/ref=sr_1_1/002-2997114-9326463?%5Fencoding=UTF8
 
> And one more question - at the very start of the FAQ, it lists a bunch
> of different libraries. The first few have links, but most don't ...
> where do I get these other libraries from? (like Mono.Data,
> Mono.XML ...)

These are libraries included with Mono itself; there are no links
because they're not provided separately.

To use the binaries, download and install Mono:

	http://www.mono-project.com/Downloads

To see the source, download any mono-* source tarball, e.g. 

	http://go-mono.com/sources/mono/mono-1.1.15.tar.gz

Or access the anonymous Subversion server directly:

	http://mono.myrealbox.com/source/trunk/mcs/class/

The contents of the above URL are the assembly names -- System.XML is
for System.Xml.dll, Mono.Posix is for Mono.Posix.dll, etc.  Nested
within the assembly directories are the namespace directories and the
source files.

 - Jon




More information about the Mono-list mailing list