[Mono-list] Migrating Windows C#.NET Winforms project to OSX using MonoDevelop
stifu at free.fr
Fri Jul 19 08:51:51 UTC 2013
Unfortunately, NotifyIcon.ShowSystray() has not been implemented on Mac.
I wonder if it works if you use the X11 driver (command line:
"MONO_MWF_MAC_FORCE_X11=1 mono yourapp.exe"). I guess it should.
Otherwise, you basically have 3 options:
- Implement NotifyIcon.ShowSystray() in Mono (I wish)
- Not use NotifyIcon.ShowSystray()
- Not use WinForms
> I have a C#.NET Windows Forms project which compiles, builds and runs
> without any problems on Windows. Now I'm trying to migrate it to OSX using
> Mono. The project compiles and builds, but I get an exception (see link to
> image below). When I double-click one of the entries in the stack trace,
> says that the file couldn't be found. Does this mean that I forgot to
> install something when I installed Mono (i.e. something related to support
> for Windows.Forms) ???? According to the mono website, WinForms should be
> fully supported so I'm not sure why I get the exception saying that the
> requested feature isn't implemented?!?!
> Any help is appreciated - thank you!!
> My setup is:
> Mac OS X 10.8.4
> IDE: MonoDevelop 3.0.6
> Mono 2.10.12 (mono-2-10/c9b270d)
> GTK 2.24.16
> GTK# (184.108.40.206)
> Package version: 210120000
> Mono-list maillist -
> Mono-list at .ximian
View this message in context: http://mono.1490590.n4.nabble.com/Migrating-Windows-C-NET-Winforms-project-to-OSX-using-MonoDevelop-tp4660233p4660235.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list