[Mono-list] GTK-Sharp Problems

b0wter evil-klabautermann at gmx.de
Fri Mar 6 17:45:47 EST 2009


I've played around a little with monodevelop and tried downloading and
installing the mono 2.2 which worked fine.
But then i noticed that i couldnt start
[url=http://banshee-project.org/]Banshee[/url], a mono based multi media
player, any more.
I get lots of text in a terminal but the most interesting part seems to be:

---------------------------
** (/usr/lib/banshee-1/Banshee.exe:5162): WARNING **: The following assembly
referenced from /usr/lib/banshee-1/Banshee.Services.dll could not be loaded:
     Assembly:   glib-sharp    (assemblyref_index=9)
     Version:    2.12.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/banshee-1/).
----------------------------

I tried to create a new monodevelop Gtk+ app. Building it works fine but
whenever i try to start it i get the following error:
---------------------------
     Assembly:   glib-sharp    (assemblyref_index=0)
     Version:    2.12.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 (/home/b0wter/Documents/Projects/bCountdown/bCountdown/bin/Debug/).
---------------------------

I tried to install Gtk Sharp 2.12 manually, which seemed to work fine, i
didnt get any errors (but i missed the optional dependancies cairo mono &
and another one i dont remember).
So i tried to figure out if glib-sharp is installed correctly:

b0wter at bowterPad:~$ gacutil -l | grep glib
glib-sharp, Version=2.12.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.10.glib-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.4.glib-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.6.glib-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.8.glib-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f

that looks like it should work!?
Now i dont know what to do to get this working again :(
Any ideas?
-- 
View this message in context: http://www.nabble.com/GTK-Sharp-Problems-tp22381859p22381859.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list