[Mono-list] MONO_PATH and the assembly loading process

Michael Hutchinson m.j.hutchinson at gmail.com
Thu Feb 26 19:09:10 EST 2009


On Thu, Feb 26, 2009 at 2:15 PM, Mathieu Cadet <mathieu.cadet at gmail.com> wrote:
> Hi all,
>
> On the Mono Best Practices page [1] it's written that the environment
> variable MONO_PATH should not be used for production environment as it
> causes the assembly loader to just skip completely the GAC.
> Is it still the case?
>
> If so, how could I solve the following problem:
>
> What I'm wanting to do is to have the runtime installed system-wide
> and then to find a way to install mono applications and libraries
> without being root.
> Under this condition, I cannot assume that the GAC will be writeable
> in any way and so I need a way to tell an application to load some
> libraries (like gtk# for example) that were copied somewhere.
>
> How can I do this without using MONO_PATH?

http://www.mono-project.com/Parallel_Mono_Environments#Tip:_MONO_GAC_PREFIX


-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Mono-list mailing list