[Mono-dev] Embedding MONO_PATH

Marcos Cobeña Morián marcoscobena at gmail.com
Thu Sep 27 03:22:17 EDT 2007

Hello Elmar,

It isn't strange if your application needs specific assemblies (not
those built-in) to be placed on the same folder (or referenced on the
GAC, for instance). It is, if assemblies like mscorlib.dll are not
found by-default.

Some steps worth to try:
+ Check mscorlib.dll is listed on the GAC: "gacutil -l | grep mscorlib".
+ Check you're using gmcs instead of mcs for targeting 2.0 profile, it
could be related to a version mismatch.
+ I understand from your first e-mail you run Windows, so try Process
Monitor (http://www.microsoft.com/technet/sysinternals/utilities/processmonitor.mspx)
to check which folder/s Mono's looking for.

However, I think it *shouldn't* be needed to touch anything. Mono
should look for in the GAC and application folder (among other ones)
by default.

My two bits. HTH.


2007/9/27, Elmar Haneke <elmar at haneke.de>:
> > Are you using Mono from SVN? It sounds strange for me if it doesn't
> > find mscorlib.dll...
> I'm using binaries from current installer.
> Indeed the problem is strage since all other assemblies are loaded from
> application directory
> Elmar
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list

Marcos - http://www.youcannoteatbits.org

More information about the Mono-devel-list mailing list