[ubuntu-mono] [Bug 174083] don't start: System.TypeLoadException: Could not load type 'MonoDevelop.Core.Runtime' from assembly 'MonoDevelop.Core'

Paul Dufresne dufresnep at gmail.com
Wed Dec 5 05:18:09 GMT 2007

Public bug reported:

Binary package hint: monodevelop

Error I get when trying to start monodevelop (Hardy):
paul at paul-desktop:~$ monodevelop 

** (./MonoDevelop.exe:7790): WARNING **: The following assembly referenced from /usr/lib/monodevelop/bin/MonoDevelop.Core.dll could not be loaded:
     Assembly:   Mono.Addins.Setup    (assemblyref_index=2)
     Public Key: 0738eb9f132ed756
The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/usr/lib/monodevelop/bin).

** (./MonoDevelop.exe:7790): WARNING **: Could not load file or assembly 'Mono.Addins.Setup, Version=, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies.

Unhandled Exception: System.TypeLoadException: Could not load type 'MonoDevelop.Core.Runtime' from assembly 'MonoDevelop.Core, Version=, Culture=neutral'.
paul at paul-desktop:~$ 

paul at paul-desktop:~$ dpkg -l|grep mono
ii  libmono-accessibility2.0-cil                  Mono Accessibility library
ii  libmono-addins-gui0.2-cil                  0.3~svn.r90520-1             GTK# frontend library for Mono.Addins
ii  libmono-addins0.2-cil                      0.3~svn.r90520-1             addin framework fir extensible CLI applicati
ii  libmono-cairo1.0-cil                          Mono Cairo library
ii  libmono-cairo2.0-cil                          Mono Cairo library
ii  libmono-cecil0.5-cil                       0.5-2                        library to generate and inspect CIL assembli
ii  libmono-corlib1.0-cil                         Mono core library (1.0)
ii  libmono-corlib2.0-cil                         Mono core library (2.0)
ii  libmono-data-tds1.0-cil                       Mono Data library
ii  libmono-data-tds2.0-cil                       Mono Data Library
ii  libmono-microsoft-build2.0-cil                Mono Microsoft.Build libraries
ii  libmono-peapi1.0-cil                          Mono PEAPI library
ii  libmono-peapi2.0-cil                          Mono PEAPI library
ii  libmono-relaxng1.0-cil                        Mono Relaxng library
ii  libmono-security1.0-cil                       Mono Security library
ii  libmono-security2.0-cil                       Mono Security library
ii  libmono-sharpzip0.84-cil                      Mono SharpZipLib library
ii  libmono-sharpzip2.84-cil                      Mono SharpZipLib library
ii  libmono-sqlite2.0-cil                         Mono Sqlite library
ii  libmono-system-data1.0-cil                    Mono System.Data library
ii  libmono-system-data2.0-cil                    Mono System.Data Library
ii  libmono-system-runtime1.0-cil                 Mono System.Runtime library
ii  libmono-system-runtime2.0-cil                 Mono System.Runtime Library
ii  libmono-system-web1.0-cil                     Mono System.Web library
ii  libmono-system-web2.0-cil                     Mono System.Web Library
ii  libmono-system1.0-cil                         Mono System libraries (1.0)
ii  libmono-system2.0-cil                         Mono System libraries (2.0)
ii  libmono-winforms2.0-cil                       Mono System.Windows.Forms library
ii  libmono0                                      libraries for the Mono JIT
ii  libmono1.0-cil                                Mono libraries (1.0)
ii  libmono2.0-cil                                Mono libraries (2.0)
ii  mono                                          Mono CLI (.NET) runtime
ii  mono-common                                   common files for Mono
ii  mono-debugger                              0.50-1                       Debugger for Mono
ii  mono-gac                                      Mono GAC tool
ii  mono-gmcs                                     Mono C# 2.0 compiler
ii  mono-jit                                      fast CLI JIT/AOT compiler for Mono
ii  mono-jit-dbgsym                               debug symbols for package mono-jit
ii  mono-mcs                                      Mono C# compiler
ii  mono-runtime                                  Mono runtime
ii  mono-tools-devel                           1.2.4-1ubuntu1               Various development tools for mono
ii  mono-tools-gui                             1.2.4-1ubuntu1               Various GUI tools for mono
ii  mono-utils                                    Mono utilities
ii  mono-xsp2                                  1.2.4-1.1ubuntu1             simple web server to run ASP.NET application
ii  mono-xsp2-base                             1.2.4-1.1ubuntu1             base libraries for XSP 2.0
ii  monodevelop                                0.14+dfsg-3ubuntu1           C#/Boo/Java/Nemerle/ILasm/ASP.NET Developmen
ii  monodoc                                    1.2.5-1ubuntu1               Mono documentation viewer
ii  monodoc-base                               1.2.5-1ubuntu1               shared MonoDoc binaries
ii  monodoc-browser                            1.2.4-1ubuntu1               MonoDoc GTK+ based viewer
ii  monodoc-gtk2.0-manual                      2.10.2-1ubuntu2              compiled XML documentation for Gtk# 2.10
ii  monodoc-manual                             1.2.5-1ubuntu1               compiled XML documentation from the Mono pro
paul at paul-desktop:~$ 

I did not set any system variables (like MONO_PATH) or anything.

** Affects: monodevelop (Ubuntu)
     Importance: Undecided
         Status: New

don't start: System.TypeLoadException: Could not load type 'MonoDevelop.Core.Runtime' from assembly 'MonoDevelop.Core'
You received this bug notification because you are a member of MOTU Mono
Team, which is a bug contact for monodevelop in ubuntu.

More information about the Ubuntu-mono mailing list