[Mono-osx] Possible way to get System.Windows.Forms (1.1.16 Intel) apps to run on OSX
susanmackay at optusnet.com.au
Thu Jul 27 20:52:43 EDT 2006
I've been playing with the latest (22.214.171.124) Intel release of mono with some
trivial SWF applications and I think(!) I have the process sorted out a bit:
Firstly (and in discussions with others in the mono-winforms list) there
appears to be a "small bug" in the System.Drawing and System.Windows.Forms
files in the GAC. Basically, the V1 versions include a config file that is
missing from the V2 directory. Therefore, use Finder to go to
>From there go to the System.Drawing/1.0.5000.0__* folder and copy the
System.Drawing.dll.config file. Paste this file in the 126.96.36.199__* folder.
Go to the System.Windows.Forms/1.0.5000.0__* folder and copy the
System.Windows.Forms.dll.config file to the 188.8.131.52__* folder.
I've also found that doing the same thing in the Mono.Posix folder is
required (I'm sure you get the pattern that's emerging here).
Next go to /Applications/Utilities and start the X11 app. (You can stop the
terminal window that opens if you like - leaving it going appears to do no
harm). This gets the X11 server running.
The only thing I've not yet figured out is how to stop the "Gtk no found
(missing LD_LIBRARY_PATH to libgtk-x11-2.0.so.0?), using built-in
colorscheme" message form appearing. (On my system, I have a
libgtk-x11-2.0.dylib in the fink library, but config files and defining
LD_LIBRARY_PATH don't seem to do it for me as yet).
Hope this helps someone
More information about the Mono-osx