I am building mono from source using a non-standard prefix. I then am manually bundling the pieces of mono that I need (not using mkbundle) like the mono executable, mscorlib, and the class libraries. When I deploy my application with the bundled mono to a test linux box it works if I am targeting mono framework version 2.0.
I upgraded my project properties to target mono framework 4.0. During the bundle process I copied over the 4.0 class libraries and mscorlib. After deploying my application with the bundled mono to the test linux box and executing it, I get the error "The assembly mscorlib.dll was not found or could not be loaded." Above that error it says: "Assembly Loader probing location" and gives a path to where mscorlib.dll would be found on the machine I performed the build on. What is the correct way to instruct mono where to find mscorlib.dll and the GAC that I have manually bundled? I read that setting MONO_PATH is not recommended and if I were to set that environment variable I would have to explicitly provide the path to every GAC assembly I am referencing for it to work. -- View this message in context: http://mono.1490590.n4.nabble.com/mscorlib-dll-was-not-found-or-could-not-be-located-tp4660087.html Sent from the Mono - General mailing list archive at Nabble.com. _______________________________________________ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list