2

After installing a newer version of mono (4.0.1) on Ubuntu 14.04.2 LTS I am getting an exception on running MonoDevelop

Unhandled Exception:
System.TypeLoadException: A type load exception has occurred.
  at MonoDevelop.Startup.MonoDevelopMain.Main (System.String[] args) [0x00000] in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: A type load exception has occurred.
  at MonoDevelop.Startup.MonoDevelopMain.Main (System.String[] args) [0x00000] in <filename unknown>:0

I have tried to reinstall MonoDevelop but nothing changed. Maybe some assemblies are missing?

How can I solve this issue?

Robotnik
  • 2,645
Adrian
  • 131

2 Answers2

3

I've tracked down the issue to missing glib-sharp and resolved it by installing package gtk-sharp2-complete (FC 21)

1

By suggestion of Ramhound, i resolved the problem by uninstalling both mono and MonoDevelop then i installed first MonoDevelop then mono, i don't know if the order matters but perhaps it matters because MonoDevelop didn't like something when i intalled a newer version of mono and even reinstalling of MonoDevelop didn't help.

Adrian
  • 131