This is what I get when I try and run monodevelop on xenial.
Setting up monodevelop (5.5.0.227-1) ...
Processing triggers for libc-bin (2.21-0ubuntu5) ...
build@hindlet:~$ monodevelop
build@hindlet:~$ monodevelop --no-redirect
INFO [2016-02-02 18:23:14Z]: Starting MonoDevelop 5.5
INFO [2016-02-02 18:23:14Z]: Running on Mono 4.2.1 (Debian 4.2.1.102+dfsg2-5ubuntu1)
INFO [2016-02-02 18:23:14Z]: Did not find previous version from which to migrate data
ERROR [2016-02-02 18:23:14Z]: Gtk-Message: Failed to load module "canberra-gtk-module"
tack trace:
at Gtk.Application.gtk_init (System.Int32& , System.IntPtr& ) [0x00000] in <filename unknown>:0
at Gtk.Application.do_init (System.String progname, System.String[]& args, Boolean check) [0x00000] in <filename unknown>:0
at Gtk.Application.Init (System.String progname, System.String[]& args) [0x00000] in <filename unknown>:0
at MonoDevelop.Ide.IdeStartup.Run (MonoDevelop.Ide.MonoDevelopOptions options) [0x00000] in <filename unknown>:0
at MonoDevelop.Ide.IdeStartup.Main (System.String[] args, MonoDevelop.Ide.Extensions.IdeCustomizer customizer) [0x00000] in <filename unknown>:0
at MonoDevelop.Startup.MonoDevelopMain.Main (System.String[] args) [0x00000] in <filename unknown>:0
INFO [2016-02-02 18:23:14Z]: Using GTK+ 2.24.29
ERROR [2016-02-02 18:23:14Z]: MonoDevelop failed to start. Some of the assemblies required to run MonoDevelop (for example gtk-sharp)may not be properly installed in the GAC.
System.Exception: Toolkit could not be loaded ---> System.IO.FileNotFoundException: Could not load file or assembly 'Mono.Cairo, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies.
File name: 'Mono.Cairo, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) <0xf59ae730 + 0x000a3> in <filename unknown>:0
at System.RuntimeType.CreateInstanceMono (Boolean nonPublic) <0xf57dfc60 + 0x00149> in <filename unknown>:0
at System.RuntimeType.CreateInstanceSlow (Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, System.Threading.StackCrawlMark& stackMark) <0xf57dfc00 + 0x00048> in <filename unknown>:0
at System.RuntimeType.CreateInstanceDefaultCtor (Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, System.Threading.StackCrawlMark& stackMark) <0xf57df980 + 0x00056> in <filename unknown>:0
at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) <0xf56e0330 + 0x0009f> in <filename unknown>:0
at System.Activator.CreateInstance (System.Type type) <0xf56e01c0 + 0x00025> in <filename unknown>:0
at Xwt.Backends.ToolkitEngineBackend.CreateBackend (System.Type backendType) <0xf46fefe0 + 0x0005f> in <filename unknown>:0
at Xwt.Backends.ToolkitEngineBackend.CreateBackend[T] () <0xf46fef80 + 0x00023> in <filename unknown>:0
at Xwt.Toolkit.Initialize (Boolean isGuest) <0xf46fde10 + 0x000f3> in <filename unknown>:0
at Xwt.Toolkit.LoadBackend (System.String type, Boolean isGuest, Boolean throwIfFails) <0xf46fda30 + 0x00127> in <filename unknown>:0
--- End of inner exception stack trace ---
at Xwt.Toolkit.LoadBackend (System.String type, Boolean isGuest, Boolean throwIfFails) <0xf46fda30 + 0x001a3> in <filename unknown>:0
at Xwt.Toolkit.Load (System.String fullTypeName, Boolean isGuest) <0xf46fd620 + 0x00077> in <filename unknown>:0
at Xwt.Application.Initialize (System.String backendType) <0xf46fd548 + 0x00027> in <filename unknown>:0
at Xwt.Application.Initialize (ToolkitType type) <0xf46fd080 + 0x0001b> in <filename unknown>:0
at Xwt.Application.InitializeAsGuest (ToolkitType type) <0xf46fd038 + 0x00013> in <filename unknown>:0
at MonoDevelop.Ide.IdeStartup.Run (MonoDevelop.Ide.MonoDevelopOptions options) <0xf46f3118 + 0x00573> in <filename unknown>:0
at MonoDevelop.Ide.IdeStartup.Main (System.String[] args, MonoDevelop.Ide.Extensions.IdeCustomizer customizer) <0xf7490030 + 0x00167> in <filename unknown>:0
One can fix the problem by:
sudo apt-get install libcanberra-gtk-module
In addition:
build@hindlet:~$ monodevelop --no-redirect dfsg2-5ubuntu1) IO.FileNotFound Exception: Could not load file or assembly 'Mono.Cairo, Version=4.0.0.0, Culture=neutral, PublicKeyToken= 0738eb9f132ed75 6' or one of its dependencies. 0738eb9f132ed75 6' Reflection. MonoCMethod. InternalInvoke (System.Object obj, System.Object[] parameters) <0xf59ae730 + 0x000a3> in <filename unknown>:0 RuntimeType. CreateInstanceM ono (Boolean nonPublic) <0xf57dfc60 + 0x00149> in <filename unknown>:0 RuntimeType. CreateInstanceS low (Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, System. Threading. StackCrawlMark& stackMark) <0xf57dfc00 + 0x00048> in <filename unknown>:0 RuntimeType. CreateInstanceD efaultCtor (Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, System. Threading. StackCrawlMark& stackMark) <0xf57df980 + 0x00056> in <filename unknown>:0 Activator. CreateInstance (System.Type type, Boolean nonPublic) <0xf56e0330 + 0x0009f> in <filename unknown>:0 Activator. CreateInstance (System.Type type) <0xf56e01c0 + 0x00025> in <filename unknown>:0 ToolkitEngineBa ckend.CreateBac kend (System.Type backendType) <0xf46fe688 + 0x0005f> in <filename unknown>:0 ToolkitEngineBa ckend.CreateBac kend[T] () <0xf46fe628 + 0x00023> in <filename unknown>:0 Initialize (Boolean isGuest) <0xf46fd4b8 + 0x000f3> in <filename unknown>:0 LoadBackend (System.String type, Boolean isGuest, Boolean throwIfFails) <0xf46fd0d8 + 0x00127> in <filename unknown>:0 LoadBackend (System.String type, Boolean isGuest, Boolean throwIfFails) <0xf46fd0d8 + 0x001a3> in <filename unknown>:0 .Initialize (System.String backendType) <0xf46fcbf0 + 0x00027> in <filename unknown>:0 .Initialize (ToolkitType type) <0xf46fc728 + 0x0001b> in <filename unknown>:0 .InitializeAsGu est (ToolkitType type) <0xf46fc6e0 + 0x00013> in <filename unknown>:0 Ide.IdeStartup. Run (MonoDevelop. Ide.MonoDevelop Options options) <0xf46f3118 + 0x00573> in <filename unknown>:0 Ide.IdeStartup. Main (System.String[] args, MonoDevelop. Ide.Extensions. IdeCustomizer customizer) <0xf749e030 + 0x00167> in <filename unknown>:0
INFO [2016-02-02 18:33:57Z]: Starting MonoDevelop 5.5
INFO [2016-02-02 18:33:57Z]: Running on Mono 4.2.1 (Debian 4.2.1.102+
INFO [2016-02-02 18:33:57Z]: Did not find previous version from which to migrate data
INFO [2016-02-02 18:33:57Z]: Using GTK+ 2.24.29
ERROR [2016-02-02 18:33:57Z]: MonoDevelop failed to start. Some of the assemblies required to run MonoDevelop (for example gtk-sharp)may not be properly installed in the GAC.
System.Exception: Toolkit could not be loaded ---> System.
File name: 'Mono.Cairo, Version=4.0.0.0, Culture=neutral, PublicKeyToken=
at System.
at System.
at System.
at System.
at System.
at System.
at Xwt.Backends.
at Xwt.Backends.
at Xwt.Toolkit.
at Xwt.Toolkit.
--- End of inner exception stack trace ---
at Xwt.Toolkit.
at Xwt.Toolkit.Load (System.String fullTypeName, Boolean isGuest) <0xf46fccc8 + 0x00077> in <filename unknown>:0
at Xwt.Application
at Xwt.Application
at Xwt.Application
at MonoDevelop.
at MonoDevelop.
find /usr/lib/mono -name Mono.Cairo* mono/4. 5/Mono. Cairo.dll mono/gac/ Mono.Cairo mono/gac/ Mono.Cairo/ 4.0.0.0_ _0738eb. ..
/usr/lib/
/usr/lib/
/usr/lib/