[Mono-osx] How to hide mono and windows form in Mac Dock
dan.vandermolen at figpsoft.com
Thu Feb 5 08:29:59 EST 2009
Sandy Armstrong wrote:
> On 02/04/2009 01:16 PM, d_v wrote:
>> Hi there,
>> I figure I can not run my C# 2.0 .NET Windows Service on mono, so I am
>> running the equivalent Windows Form (application) on mono.
>> However the script editor, mono, and sometiimes the form (windows state
>> set to minimized) are all visible in the Dock. I use a script to launch
>> mono and the .exe.
>> What do you advise is the best way to hide these programs from the Dock?
>> I am hoping for a manual way to do this and maybe a way to do it in
>> code so I do not have to bother the user with setting this up.
> Make a Mac app bundle. Download the OS X versions of MonoDevelop,
> Banshee, or Tomboy for examples of how this is done. These are all gtk#
> apps, but I don't see why it wouldn't work with winforms apps.
> By the way, there's a mono-osx list that might be more helpful with
> future Mac questions.
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
Thanks for the tip.
So I started looking up "Mac bundles" and I found this link:
http://www.mono-project.com/Guide:Running_Mono_Applications and a section at
the very end called "Macpack, Mac OS X only"
Is this the way I do it? But I am not using cocoa sharp...
"macpack is a tool that must be used to bundle Cocoa# applications into
Double-Clickable, Finder friendly, bundles on Mac OS X. It bundles static
libraries and resources, as well as generates a basic info.plist into the
For example the following commands are used to build the
CurrencyConverter.exe into an application bundle:
$ mcs -g -debug+ CurrencyConverter.cs -out:CurrencyConverter.exe
$ rm -rf CurrencyConverter.app
$ macpack -m:2 -o:.
View this message in context: http://www.nabble.com/How-to-hide-mono-and-windows-form-in-Mac-Dock-tp21839765p21851379.html
Sent from the Mono - OSX mailing list archive at Nabble.com.
More information about the Mono-osx