[Gtk-sharp-list] Problem with running GTK samples from the latest Win32 installer (mono-

Caleb Land redhatdude at gmail.com
Tue Oct 4 17:40:42 EDT 2005

Is anyone else having trouble running the GtkSharp-2.0 samples in the
samples\ directory of their mono installation?

** (<unknown>:3732): WARNING **: The following assembly referenced from
C:\Program Files\Mono-\samples\GtkSharp-2.0\subclass.exe could not be
Assembly: gdk-sharp (assemblyref_index=2)
Version: <>
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 (C:\Program Files\Mono-\samples\GtkSharp-2.0\).

It looks like the .exe files are linked to version
<>but the version in the GAC is <>. If I copy the version folders from inside the GAC
and rename them to <> everything seems to work fine.
For example, to fix the above problem I copied:

C:\Program Files\Mono-\lib\mono\gac\gdk-sharp\


C:\Program Files\Mono-\lib\mono\gac\gdk-sharp\

I still don't understand the basics of how Assemblies work with versioning
and whatnot so I don't know if this is a smart thing to do. I just wanted to
know if other people have the same problem because this machine has had a
lot of old mono installations (which have been uninstalled before installing
the new version).

Caleb Land
(RedHatDude at gmail.com)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20051004/caea7bfb/attachment.html

More information about the Gtk-sharp-list mailing list