[Mono-list] Fwd: mscorlib.dll was not found on target when using --static option in mkbundle

TWG CIM twgcim1 at gmail.com
Thu Feb 15 14:18:31 UTC 2018


If I copy the mscorlib.dll from /usr/lib/mono/4.5/mscorlib.dll to the same
folder as the app in the target device and set MONO_PATH=.
Then when trying to execute ./app app I get the following response

Cannot open assembly 'app': File does not contain a valid CIL image.

I am not well versed in this activity and there is a great possibility I am
missing something simple.  Thanks for reading.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dot.net/pipermail/mono-list/attachments/20180215/b529fdfd/attachment.html>


More information about the Mono-list mailing list