[MonoDevelop] Portable Monodevelop/Mono Distribution

Michael Hutchinson m.j.hutchinson at gmail.com
Thu Aug 26 11:10:34 EDT 2010

On Thu, Aug 26, 2010 at 8:50 AM, anidotnet <anidotnet at gmail.com> wrote:
> There are some clarifiactions I need to start with
> 1. I saw several batch scripts in the mono installation directory use
> absolute path (e.g. gmcs.bat), so lifting the mono dirctory from Program
> Files won't be of much help. How would I tackle this?

Alter the batch scripts to use "%~p0" - the script's directory. It
might be worth submitting a patch to Mono for this.

> 2. Monodevelop needs gtk+ and gtk#, so to make it portable where should I
> place all the gtk related dll w.r.t Monodevelop executable path?

The GTK# dlls need to be findable by the .NET rules for resolving
dlls. I would suggest using a configuration file to add a custom
directory to the probing paths, to keep them isolated. More info here:
AFAIK GTK dlls need to be in the same directory as the GTK# dlls, or
in a directory in PATH.

If MD is running with Mono, Mono includes GTK#+GTK.

> 3. Where I can find the list of all the env variables required to set during
> Mono and Monodevelop installation?

There isn't one. There aren't any *required* AFAIK - but you may need
to set some to resolve issues you run into.

Michael Hutchinson

More information about the Monodevelop-list mailing list