[MonoDevelop] Monodevelop on WinXP fails due to missing Mono.Cairo.dll

Ben Rousch brousch at gmail.com
Wed Sep 29 14:11:16 EDT 2010


I am attempting to use Monodevelop 2.4 on Windows XP Pro SP3 and I
keep getting an error and a crash during the "Loading workbench" stage
when I try to run it. I have installed .NET Framework 3.5 and GTK# for
.NET 2.12.9-2. Monodevelop appears to install fine, but when I run it
it gives me the following error:

---

System.IO.FileNotFoundException: Could not load file or assembly
'Mono.Cairo, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f' or one of its dependencies. The
system cannot find the file specified.

File name: 'Mono.Cairo, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f'
   at MonoDevelop.Components.Docking.ShadedContainer.DrawBackground(Widget
w, Rectangle allocation)
   at MonoDevelop.Components.Docking.ShadedContainer.DrawBackground(Widget w)
   at MonoDevelop.Components.Docking.DockBar.OnExposeEvent(EventExpose evnt)
   at Gtk.Widget.exposeevent_cb(IntPtr widget, IntPtr evnt)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind
failure logging.
To turn this feature off, remove the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog].

---

I tried using version 2.0.0.0 of Mono.Cairo.dll from a
mono-2.6.7-gtksharp-2.12.10-win32-2.exe install and from Ubuntu 10.04
with a working Monodevelop 2.4, but apparently these are not exactly
the right versions. Monodevelop still crashes, but with this slightly
different error.

---

System.IO.FileLoadException: Could not load file or assembly
'Mono.Cairo, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f' or one of its dependencies. The
located assembly's manifest definition does not match the assembly
reference. (Exception from HRESULT: 0x80131040)

File name: 'Mono.Cairo, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f'
   at MonoDevelop.Components.Docking.ShadedContainer.DrawBackground(Widget
w, Rectangle allocation)
   at MonoDevelop.Components.Docking.ShadedContainer.DrawBackground(Widget w)
   at MonoDevelop.Components.Docking.DockBar.OnExposeEvent(EventExpose evnt)
   at Gtk.Widget.exposeevent_cb(IntPtr widget, IntPtr evnt)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind
failure logging.
To turn this feature off, remove the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog].

---

I also tried using previous releases of Monodevelop and had the same
results. Any help is appreciated.

-- 
  Ben Rousch
  brousch at gmail.com
  http://ishmilok.blogspot.com/


More information about the Monodevelop-list mailing list