[Mono-osx] Re: Problems with first WinForms Hello World

Edward J. Sabol sabol@alderaan.gsfc.nasa.gov
Sun, 17 Apr 2005 23:02:30 -0400


Andreas wrote:
> Hi! I read this thread, but I have until now no idea why my Hello.app
> terminates immediately after double click in the Finder.

Go into /Applications/Utilities. There should be a program called Console in
there. Double-click on it. In the list on the right side, click on
"console.log" to display it. You might want to click on the Clear button at
the top. Now go back to the Finder and double-click on your Hello.app. After
it terminates, go back to Console and read what was printed in console.log.

Two possibilities come to mind:

1. You might need to re-install 1.1.6. When the Mono 1.1.6 dmg for Mac OS X
   was first posted on go-mono.com it was missing libraries crucial to using
   MWF. Before you re-install, you'll want to execute the following:

   sudo rm -rf /Library/Receipts/MonoFramework-1.1.6.pkg
   sudo rm -rf /Library/Frameworks/Mono.framework/Versions/1.1.6

2. Does the full path to your Hello.app contain a space? Then you've run into
   a bug in macpack that frustrated me for hours. This bug has already been
   fixed in SVN, so it should be in Mono 1.1.7, I hope.

   http://bugzilla.ximian.com/show_bug.cgi?id=74221

Hope this helps,
Ed