[Mono-list] run application from usb

Benjamin Podszun ben at galactic-tales.de
Tue Nov 25 10:00:58 EST 2008


Hi

On Mon, 24 Nov 2008 12:40:58 -0800 (PST), mcnamaragio
<mcnamaragio at gmail.com> wrote:
> Let's say I developed an application using mono and copied compiled file
> on usb drive. Is it possible to have mono on the usb too so that I can
run my
> application on any computer even if it doesn't have mono installed. As
far
> as I know it is possible to do it with JRE. Is it possible with mono/

Yes, it is. You might need to have a custom (and don't use .Net for that if
you aren't sure that it's installed on the target) launch application which
invokes mono.exe yourbinary. The most simple case would be a .sh/.bat/.cmd
file, but that might be ugly for several cosmetic reasons. I'm deploying a
shrinked/stripped down version of mono to build (nant) and run an
application of mine. Works fine for me.

Regards,
Ben



More information about the Mono-list mailing list