I had a user report that monodevelop completely failed to launch on windows. It turned out that he did not have Gtk# for MS.NET installed. Would it be possible to put a try catch around the main loop and if gtk# cannot be initialised, use reflection to load System.Windows.Forms and display a useful error message to the user. It'd be a nice fallback to let them know why things are failing silently.
Yes, and GTK# can also get broken when other programs modify PATH, so this would help in those cases.
There was also a long-standing bug on Novell bugzilla to make GTK# use a module initializer to add its native libraries into the dynamic loader path using an API from XP SP2+, instead of using PATH. Unfortunately it was never implemented.
I havent used MonoDevelop since it was first released because of this issue (failure to start) and 1) lack of time to debug your install issue and 2) honestly lack of willingness to do so.
I am a developer, but not with tools that I would like to use - not develop - like MonoDevelop. As a comment, I am impressed with the tool. And I am unimpressed with attention to detail regarding installation/distribution. I know of many other developers who installed MonoDevelop, it failed to start, and they uninstalled.
As a note to whom it may concern - since the issue involves pathing to GtkSharp/bin, I did the following in a bat file (monod.bat) in the GtkSharp/bin folder. monod.bat contains one line.
START C:\"Program Files"\MonoDevelop\bin\MonoDevelop.exe
This does launch Monodevelop.exe (I assume by virtue of monod.bat being in the GtkSharp/bin folder - its starting point).
This is not a general solution. It is a bandaid.
This should have been addressed over a year ago.
... sorry, it launches but fails to run correctly. I have to uninstall it again. Sorry - back to pure C I guess.
I'm sorry that MonoDevelop did not work out for you in your first try.
Here are a tip that might help you out:
The GtkSharp installer puts the GtkSharp directory into the PATH environment variable. Unfortunately, the lookup of environment variables is not consistent after modification. You might want to try restarting your machine after installing GtkSharp to ensure that PATH includes the GtkSharp path.
You can get the latest GTK installer here: http://download.mono-project.com/gtk-sharp/gtk-sharp-2.12.10.win32.msi
The latest MD is here: http://download.xamarin.com/monodevelop/Windows/MonoDevelop-184.108.40.206.msi
If you still run into problems, please write back and let us know which version of the packages you have installed. It would also help if you show us the contents of the PATH environment variable.
Let's leave this open, original request is legit.
I fixed this ages ago
Notice (2018-05-21): bugzilla.xamarin.com will be
switching to read-only mode on Thursday, 2018-05-25 22:00 UTC.
Please join us on
Visual Studio Developer Community and
GitHub to continue tracking
issues. Bugzilla will remain available for reference in read-only mode.
We will continue to work on open Bugzilla bugs and copy them to the new
locations as needed for follow-up. The See Also field
on each Bugzilla bug will be updated with a link to its new location
After Bugzilla is read-only, if you have new information to add for a
bug that does not yet have a matching issue on Developer Community or
GitHub, you can create a follow-up issue in the new location. Copy and
paste the title and description from this bug, and then add your new
details. You can get a pre-formatted version of the title and
In special cases you might also want the comments:
Our sincere thanks to everyone who has contributed on this bug tracker
over the years. Thanks also for your understanding as we make these
adjustments and improvements for the future.