[Mono-list] deployment w/ run time of mono?

2005-05-22 Thread netSQL

I made an Exe application using Mono on Linux.

How do I deploy it to Mac, Windows users?
is there a mono run-time?
what about dependent libraries I make?

thx,
.V
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] deployment w/ run time of mono?

2005-05-23 Thread Jonathan Pryor
On Sun, 2005-05-22 at 18:28 -0500, netSQL wrote:
> I made an Exe application using Mono on Linux.
> 
> How do I deploy it to Mac, Windows users?

You copy the .exe and all .dll's it depends on to your target machine.
You don't need to copy .dll's provided with Mono (such as mscorlib.dll
and System.dll).

> is there a mono run-time?

Yes, and the mono runtime is platform-specific.  You'll need Mono for
each platform you want to run your app on (Mac, Linux, Windows), or
install .NET under Windows (assuming your app is portable).

> what about dependent libraries I make?

You need to distribute those as well.  Usually you just place them in
the same directory as the .exe.

 - Jon


___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] deployment w/ run time of mono?

2005-05-23 Thread netSQL


 


is there a mono run-time?
   



Yes, and the mono runtime is platform-specific.  You'll need Mono for
each platform you want to run your app on (Mac, Linux, Windows), or
install .NET under Windows (assuming your app is portable).

 


ok 2 more q:

1. where is the run time of mono?

2. how do I make my app portatable ?

tia,
.V
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] deployment w/ run time of mono?

2005-05-24 Thread Jonathan Pryor
On Mon, 2005-05-23 at 07:15 -0500, netSQL wrote:
> 1. where is the run time of mono?

Simple answer: build your own version of mono and install it into a
custom prefix.  Everything under that prefix is part of mono's
runtime. :-)

Alternatively, grab the x86 Linux installer, install it into a custom
location, and look at everything under that location.  See:

http://www.mono-project.com/Downloads
http://www.go-mono.com/archive/1.1.7/installer/mono-1.1.7-installer.bin

This will include:
  - $prefix/etc/mono/* (configuration files)
  - $prefix/bin (55 files in my install, including mcs, mono, ilasm)
  - $prefix/lib (40 files in my install, including libmono.so,
libMonoPosixHelper.so, libikvm-native.so, and many Gtk# libraries
such as libgtksharpglue-2.so)
  - $prefix/lib/mono/1.0: .NET 1.1 profile symlinks into GAC
  - $prefix/lib/mono/2.0: .NET 2.0 profile symlinks into GAC
  - $prefix/lib/mono/gac/*: Global Assembly Cache

> 2. how do I make my app portatable ?

Through design and testing.  Either don't rely on features present on
only one platform (such as COM interop to host Internet Explorer), or
use equivalents for each platform (IE under .NET, Gecko# under Mono).

There are a variety of design patterns you can use to cleanly use
platform-specific code while providing fallbacks for other platforms.
You might try reading "Cross-Platform .NET", which covers writing
portable code:


http://www.amazon.com/exec/obidos/tg/detail/-/1590593308/qid=1116934539/sr=8-1/ref=pd_csp_1/102-5201622-2360109?v=glance&s=books&n=507846

 - Jon


___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list