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-18.104.22.168.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