[Mono-devel-list] Can't find mscorlib.dll?

Jackson Harper jackson at ximian.com
Wed May 12 14:28:10 EDT 2004


It might be because you are using : instead of ; as a path separator. 
Jackson


On Tue, 2004-05-11 at 18:43, Michi Henning wrote:
> Hi,
> 
> I'm using the Windows binary installation of Beta 1.
> The installation directory is /cygwin/mono. When
> I run /cygwin/mono/bin/mcs, I get:
> 
> 	cannot open assembly C:/cygwin/opt/mono/lib/mcs.exe
> 
> Looking around, I find mcs.exe in /cygwin/opt/mono/lib/mono/1.0/mcs.exe.
> 
> I look at /cygwin/mono/bin/mcs and find:
> 
> 	export MONO_PATH=C:/cygwin/opt/mono/lib
> 
> So, I change it to:
> 
> 	export MONO_PATH=C:/cygwin/opt/mono/lib:/cygwin/opt/mono/lib/mono/1.0
> 
> Now I get the following error:
> 
> 	The assembly mscorlib.dll was not found or could not be loaded.
> 	It should have been installed in the `c:/mono/mb/install/lib' directory.
> 
> At this point, I'm stuck. I cannot get mcs to run. mscorlib.dll lives in /opt/mono/lib,
> so I think it should be found. Adding C:/cygwin/opt/mono/lib to my Windows PATH and LIB
> environment variables doesn't help, nor does copying mscorelib.dll into
> C:/cygwin/opt/mono/lib/mono/1.0 or adding a link or shortcut to that directory.
> 
> What am I missing? (Under Linux, I had no problems getting things to work.)
> 
> Thanks,
> 
> Michi.
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list




More information about the Mono-devel-list mailing list