[Mono-list] teste.exe - mscorlib.dll not found

fozzie david_aiken at yahoo.com
Sat Apr 11 17:06:03 EDT 2009


hi all..

I got mono built on Windows using the MSVC 2005 environment, and the
test_eglib seems to work (other than a few tests.. no big deal). The mono
install worked fine (tested a small c# program with msc). Now i'm trying to
get teste.exe to work. It complains:

The assembly mscorlib.dll was not found or could not be loaded.
It should have been installed in the
`C:\cygwin\download\mono\mono\msvc\Win32_De
bug_eglib\lib\mono\1.0\mscorlib.dll' directory.

The executable is in Win32_Debug_eglib. I suspect I'm not pointing the
embedded mono code to the mono assemblies in a GAC properly. I notice that
the code uses MONO_PATH when searching, but i don't believe this is the best
way to fix the problem. I've also tried using "mkbundle <> <> --deps" to add
the assemblies into the exe, but although it seems to work the problem is
still there.

Does someone know how to point embedded mono to its assemblies? Probably a
FAQ :-((.

thanks!
-- 
View this message in context: http://www.nabble.com/teste.exe---mscorlib.dll-not-found-tp23005413p23005413.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list