[Mono-osx] Mono 2.2 Exception when icon for form (System.Windows.Forms) contains Vista PNG icon in icon directory.

Andrew Forget andydragon at live.com
Thu Mar 12 16:21:26 EDT 2009


Repro:

If you create a form in VS2008, set the icon to an icon which contains a Vista PNG (256 x 256) icon in the icon directory of the icon file, it runs on Windows.

On OSX, if the same project is built using MonoDevelop, the icon code will throw an exception when trying to load the icon.

Expected:

Icon would load when the form resources are loaded and form would appear.

Failure:

Exception thrown deep in the icon load core when the icon is present.

Workaround:

Remove the 256x256 PNG icon from the icon directory of the icon file.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20090312/4d105849/attachment.html 


More information about the Mono-osx mailing list