[Mono-dev] Resource Issue
monkey at jpobst.com
Fri Feb 29 22:34:33 EST 2008
Geoff helped me track down that my animated spinner .gif is getting
corrupted. When I remove it from the project, everything works just
fine. Thanks everyone for the suggestions!
Robert Jordan wrote:
> Robert Jordan wrote:
>> Jonathan Pobst wrote:
>>> I hate to just dump my project here, but I am having trouble making a
>>> standalone test case out of this. It causes an exception when I compile
>>> in MonoDevelop and try to run on opensuse 10.3.
>>> For my pet project XmppApplication:
>>> svn checkout http://xmppapplication.googlecode.com/svn/trunk/
>>> Compile on .net, runs on .net correctly.
>>> Compile on .net, runs on opensuse 10.3 mono 1.9 correctly.
>>> Compile in MD, fails on opensuse 10.3 mono 1.9 runtime with exception below.
>>> Compile in MD, runs on .net correctly.
>>> Compile in MD, runs on winmono 1.9 correctly.
>>> at XmppApplication.Base.Properties.Resources.get_DefaultAvatar ()
>>> [0x00000] in
>> VS.NET is embedding the image this way:
>> <data name="DefaultAvatar" type="System.Resources.ResXFileRef,
>> System.Drawing, Version=188.8.131.52, Culture=neutral,
>> But I did not find any code in mono's ResX support that flips the
>> backslashes. This explains why the code runs on Windows: this OS
>> does not care about the \ + / mess.
> Hmm, my assumption is not quite correct, since MD is converting the
> ResX at compile time. Maybe the generated .resource does not contain
> these images at all.
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
More information about the Mono-devel-list