Hello all, this is as much a question about mono as a help request for tomboy so I hope I'm posting this in the right place.
Basically, tomboy stopped working after I installed mono from the binary installer mono-1.2.5.1_3-installer.bin.
I installed the new verson of mono to ~/bin/mono so that it would not affect my existing mono installation, but this obviously did not help.
Running tomboy from the console produces:
Code:
mark@linuxbox:~$ tomboy
** (/usr/lib/tomboy/Tomboy.exe:8239): WARNING **: The following assembly referenced from /usr/lib/tomboy/Tomboy.exe could not be loaded:
Assembly: gnome-sharp (assemblyref_index=2)
Version: 2.16.0.0
Public Key: 35e10195dab3c99f
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/tomboy).
** (/usr/lib/tomboy/Tomboy.exe:8239): WARNING **: Could not load file or assembly 'gnome-sharp, Version=2.16.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' or one of its dependencies.
** (/usr/lib/tomboy/Tomboy.exe:8239): WARNING **: The following assembly referenced from /usr/lib/tomboy/Tomboy.exe could not be loaded:
Assembly: gtk-sharp (assemblyref_index=1)
Version: 2.10.0.0
Public Key: 35e10195dab3c99f
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/tomboy).
** (/usr/lib/tomboy/Tomboy.exe:8239): WARNING **: Could not load file or assembly 'gtk-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' or one of its dependencies.
Unhandled Exception: System.TypeLoadException: Could not load type 'Tomboy.Tomboy' from assembly 'Tomboy, Version=0.0.0.0, Culture=neutral'.
so I googled a bit and checked the mono gac contents with:
Code:
mark@linuxbox:~$ gacutil -l |grep gtk
gtk-dotnet, Version=2.8.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f
gtk-sharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f
gtk-sharp, Version=2.8.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f
gtkhtml-sharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f
gtkhtml-sharp, Version=2.8.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f
gtksourceview-sharp, Version=1.0.0.2, Culture=neutral, PublicKeyToken=35e10195dab3c99f
policy.2.4.gtk-dotnet, Version=0.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f
policy.2.4.gtk-sharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f
policy.2.4.gtkhtml-sharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f
policy.2.6.gtk-dotnet, Version=0.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f
policy.2.6.gtk-sharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f
policy.2.6.gtkhtml-sharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f
and
Code:
mark@linuxbox:~$ gacutil -l |grep gnome
gnome-sharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f
gnome-sharp, Version=2.8.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f
gnome-vfs-sharp, Version=2.8.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f
policy.2.4.gnome-sharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f
policy.2.4.gnome-vfs-sharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f
policy.2.6.gnome-sharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f
policy.2.6.gnome-vfs-sharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f
obviously the versions in the gac are older than the required libraries, so I checked the installed files with:
Code:
mark@linuxbox:~$ ls /usr/lib/mono/gac/gnome-sharp/
1.0.0.0__35e10195dab3c99f 2.16.0.0__35e10195dab3c99f
and
Code:
mark@linuxbox:~$ ls /usr/lib/mono/gac/gtk-sharp/
1.0.0.0__35e10195dab3c99f 2.10.0.0__35e10195dab3c99f
and it looks like the files are there, but the gac is somehow not recognizing it. Does anyone know how I can make the mono gac recognize these assemblies? or how to install them again to make tomboy work?
Thanks and Best Regards.
Bookmarks