[Mono-osx] Setting the Dock icon for a Mono application?

Tim Martin tim at asymptotic.co.uk
Fri Aug 6 04:29:15 EDT 2010

On Thu, 5 Aug 2010 16:31:20 -0400, "Michael Hutchinson"
<m.j.hutchinson at gmail.com> said:
> The Mac taskbar does not use icons from your exe, no matter how you
> embed them. You must use an app bundle, and your Info.plist manifest
> must specify your icns. The icns can have multiple resolutions of icon
> in it.

Thanks for the info. Two things about this confuse me though: Firstly,
when I run from within MonoDevelop (no app bundle in sight) I get a
custom icon displayed in the taskbar, only at the wrong resolution. This
image has to be coming from somewhere.

Secondly, I have an app bundle set up with a .icns file in the
appropriate resolution, and I have my app within as an executable I've
packaged together with macpack. When I run this, the bouncing icon it
displays during loading is at the correct resolution (which must be
taken from the .icns file specified in the info.plist). However, once
the app finishes loading the icon is replaced with a low-resolution
version. If it was continuing to use the version from the app bundle, I
wouldn't expect it to change.


More information about the Mono-osx mailing list