[MonoDevelop] running outside MD enviironment

Michael Hutchinson m.j.hutchinson at gmail.com
Mon Feb 4 23:16:05 EST 2008

On Feb 4, 2008 5:34 AM, Dan Smithers <dsmithers at talktalk.net> wrote:
> I would like to run my application directly from the command line. I get
> an assembly error :- can't find Mono.Posix version
> It runs fine from inside MD so the assembly must be present.

MD makes local copies of assemblies that aren't in the GAC.

> I have tried adding /usr/local/lib/mono/2.0 to LD_LIBRARY_PATH but I
> still get the same error.

Mono doesn't use LD_LIBRARY_PATH for managed libraries -- use
MONO_GAC_PREFIX or MONO_PATH, as documented here:

FWIW, if you have multiple Monos you should really be careful to keep
them separated. In particular:

> There appears to be an entry in the GAC.

As evidenced by "gacutil -l"?

Michael Hutchinson

More information about the Monodevelop-list mailing list