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

Michael Hutchinson m.j.hutchinson at gmail.com
Thu Aug 5 12:39:46 EDT 2010

On Thu, Aug 5, 2010 at 9:47 AM, Tim Martin <tim at asymptotic.co.uk> wrote:
> Hi,
> I have my application running successfully under Mono in OS X (thanks to
> Alexander Shulgin for his earlier help). My remaining problem is that
> whatever I do, the application icon that shows in the dock seems to be
> at the wrong resolution, and looks horribly re-scaled.
> The original .Net project file points to a .ico file with the icon at
> various resolutions from 256x256 down to 16x16. I've subsequently tried
> pointing it at .ico files at various single resolutions (as high as
> 600x600) and it always looks exactly the same, i.e. as if it has been
> scaled up from an icon half the size it needs.
> Given that nothing I do seems to change the icon, I'm wondering if I'm
> altering the wrong thing. I imported the .csproj file into MonoDevelop
> and built from there, and I assumed that changes to the project file
> would be reflected in the build. For some reason I can't get at the
> setting directly from within MonoDevelop (I can't open the 'options'
> dialog for the project, which is where I assume the setting is), but
> I've edited the file in Visual Studio and re-opened it in MonoDevelop.
> FWIW I'm using MonoDevelop 2.4 and Mono 2.6.4. Thanks for any suggestions.

You need to create an app bundle and specify the app icon there -

Michael Hutchinson

More information about the Mono-osx mailing list