The assembly mscorlib.dll was not found or could not be loaded.
ahmed23khan opened this issue · 0 comments
Hi,
I have macOS app which uses a .Framework
which uses the Mono.Framework
.
The Mono.framework
is present at /Library/Frameworks/Mono.framework/
.
I used the otool -L
to find out the required .dylibs
to be bundled.
I used this tool to bundle the required .dylibs into the app bundle. Here is the command
dylibbundler -cd -of -f -q -a /Users/Desktop/Bundler_Test/SampleMacAppObjc.app -x /Users/Desktop/Bundler_Test/SampleMacAppObjc.app/Contents/Frameworks/ConnectionCheckerLibrary.framework/ConnectionCheckerLibrary
The entire Mono.framework
gets copied into /Users/Desktop/Bundler_Test/SampleMacAppObjc.app/Contents/Frameworks
which is fine. But, still I am getting the error
It should have been installed in the `/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/4.5/mscorlib.dll' directory.
Looks like its still looking for the mscorlib.dll
inside the /Library/Frameworks/Mono.framework/
not the one which is copied inside /Users/Desktop/Bundler_Test/SampleMacAppObjc.app/Contents/Frameworks
Any help or advice is appreciated.