[Mono-list] Can Mono itself be installed/invoked as a mac app bundle ??

Brendan Simon (eTRIX) brendan.simon at etrix.com.au
Sat Jun 18 20:53:24 EDT 2011


Python binary is installed here:
/Library/Frameworks/Python.framework/Versions/Current/bin/python

Python app bundle is installed here:
/Library/Frameworks/Python.framework/Versions/Current/Resources/Python.app/

I think the python binary calls the app bundle, that's why my wxPython
programs can be run from the command line.  It would be very nice if
Mono could do the same thing :)

Mono is installed here:
/Library/Frameworks/Mono.framework/Versions/Current/bin/mono

but there is no Mono.app bundle installed, though there does seem to be
plist files.
/Library/Frameworks/Mono.framework/Versions/Current/Resources/Description.plist
/Library/Frameworks/Mono.framework/Versions/Current/Resources/Info.plist
/Library/Frameworks/Mono.framework/Versions/Current/Resources/version.plist

Any ideas how to run a Mono app bundle from some kind of mono launcher ???

Thanks, Brendan.


On 18/06/11 9:51 PM, Brendan Simon (eTRIX) wrote:
> I'm have been using wxPython, (wxWidgets with Python bindings) and am
> now trying to write/port code that targets wx.NET and using the Cobra
> language.  I can get things working on Windows ok with wx.NET, Cobra and
> Mono, but on OS X the gui doesn't work when invoked from the command
> line.  Apparently you need an app bundle for the gui to work as expected.
> 
> I know that an app bundle can be built (haven't tried yet) for the
> application, so that should work in theory, but when I'm developing with
> Python I don't need to create an app bundle to run the app.  e.g.
> "python myapp.py" will work perfectly, where as "mono myapp.exe" does
> not work (app is displayed but it does not respond to any events).
> 
> Can Mono itself be installed/invoked as a mac app bundle (in the same
> way that python does) ??
> 
> This is very handy as I can develop and test with "mono myapp.exe", and
> when I'm happy with the app, I can then create an app bundle to
> distribute the app.
> 
> Thanks, Brendan.


More information about the Mono-list mailing list