[MonoDevelop] running outside MD enviironment
dsmithers at talktalk.net
Wed Feb 6 05:20:08 EST 2008
Thanks, MONO_GAC_PREFIX does the trick.
Michael Hutchinson wrote:
> 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 220.127.116.11
>> 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"?
More information about the Monodevelop-list