I want to embed Mono into a 64 bit Mac OSX application (ported from Windows C++ where everything works fine). Since only 32 bit Mono is available pre-compiled for Mac OSX I managed to build my own 64 bit Mono release following this manual.
When debugging my 64 bit application in XCode the mono-embedding initialization fails with "The assembly mscorlib.dll was not found or could not be loaded. It should have been installed in the `usr/local/lib/mono/4.5' directory."
I can step into the code where this error is generated (domain.c - mono_init_internal()). Unfortunately my mono build obviously didn't produce a 4.5 directory. The only available ".NET-Version" seems to be 2.0: usr/local/lib/mono/2.0/mscorlib.dll exists, BUT NO 4.5 subdirectory at all.
Is there something I forgot in the build?
Thank you very much for your support.