Icon.cs Exception

José Francisco Lorenzo Hernández <[email protected]> Wed, 2 Aug 2017 21:10:30 +0100
Newsgroups gmane.comp.gnome.mono.general
Message-ID <CAOPgbbjB7NKeaUbYDo2VyYWT2f02ZQwqvH=P_12Ft0JYWveOCA@mail.gmail.com>
--===============3782362055789029441==
Content-Type: multipart/alternative; boundary="001a1141e94e1bbcf00555cadbf6"

--001a1141e94e1bbcf00555cadbf6
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi mono team,

I were trying to compile this project on Linux:
https://github.com/carstengehling/jirastopwatch using MonoDevelop and also
msbuild, but I always get:

Inner exception: AND data length expected 512, read 0 Parameter name: strea=
m

AFAIK, this is related to trying to "compile" .resx file into .resources
file. Also, I found were the exception happend on your code:

https://github.com/mono/mono/blob/master/mcs/class/System.Drawing/System.Dr=
awing/Icon.cs#L862

But I don't know how to fix it. I'm using Ubuntu and I can't install a
previous versi=C3=B3n of the framework to try it and see if that happends. =
What
I can do?

Kind regards,

Jose Lorenzo.

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

<div dir=3D"ltr">Hi mono team,<div><br></div><div>I were trying to compile =
this project on Linux:=C2=A0<a href=3D"https://github.com/carstengehling/ji=
rastopwatch">https://github.com/carstengehling/jirastopwatch</a> using Mono=
Develop and also msbuild, but I always get:</div><div><br></div><div>Inner =
exception: AND data length expected 512, read 0 Parameter name: stream<br><=
/div><div><br></div><div>AFAIK, this is related to trying to &quot;compile&=
quot; .resx file into .resources file. Also, I found were the exception hap=
pend on your code:</div><div><br></div><div><a href=3D"https://github.com/m=
ono/mono/blob/master/mcs/class/System.Drawing/System.Drawing/Icon.cs#L862">=
https://github.com/mono/mono/blob/master/mcs/class/System.Drawing/System.Dr=
awing/Icon.cs#L862</a><br></div><div><br></div><div>But I don&#39;t know ho=
w to fix it. I&#39;m using Ubuntu and I can&#39;t install a previous versi=
=C3=B3n of the framework to try it and see if that happends. What I can do?=
</div><div><br></div><div>Kind regards,</div><div><br></div><div>Jose Loren=
zo.</div></div>

--001a1141e94e1bbcf00555cadbf6--

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

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTW9uby1saXN0
IG1haWxsaXN0ICAtICBNb25vLWxpc3RAbGlzdHMuZG90Lm5ldApodHRwOi8vbGlzdHMuZG90Lm5l
dC9tYWlsbWFuL2xpc3RpbmZvL21vbm8tbGlzdAo=

--===============3782362055789029441==--