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

TWG CIM <[email protected]> Thu, 15 Feb 2018 09:18:31 -0500
Newsgroups gmane.comp.gnome.mono.general
Message-ID <CAMEexQVqdTQ_Twq_0SDZB2PHeY25oq9p8AFcXePndrmaNWtXKQ@mail.gmail.com>
--===============5163864215762126319==
Content-Type: multipart/alternative; boundary="f4030435b4b00d57ed056540e7e9"

--f4030435b4b00d57ed056540e7e9
Content-Type: text/plain; charset="UTF-8"

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.

--f4030435b4b00d57ed056540e7e9
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_extra">If I=
 copy the mscorlib.dll from /usr/lib/mono/4.5/mscorlib.dll to the same fold=
er as the app in the target device and set MONO_PATH=3D.</div><div class=3D=
"gmail_extra">Then when trying to execute ./app app I get the following res=
ponse</div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">=
Cannot open assembly &#39;app&#39;: File does not contain a valid CIL image=
.</div><div class=3D"gmail_extra">=C2=A0=C2=A0</div><div class=3D"gmail_ext=
ra">I am not well versed in this activity and there is a great possibility =
I am missing something simple.=C2=A0 Thanks for reading.</div></div></div>

--f4030435b4b00d57ed056540e7e9--

--===============5163864215762126319==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTW9uby1saXN0
IG1haWxsaXN0ICAtICBNb25vLWxpc3RAbGlzdHMuZG90Lm5ldApodHRwOi8vbGlzdHMuZG90Lm5l
dC9tYWlsbWFuL2xpc3RpbmZvL21vbm8tbGlzdAo=

--===============5163864215762126319==--