[Gtk-sharp-list] Problem with running GTK samples from the latest
Win32 installer (mono-1.1.9.1-gtksharp-1.0.10-2.3.91-win32-0.exe)
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-1.1.9.1\samples\GtkSharp-2.0\subclass.exe could not be
loaded:
Assembly: gdk-sharp (assemblyref_index=2)
Version: 2.0.0.0 <http://2.0.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 (C:\Program Files\Mono-1.1.9.1\samples\GtkSharp-2.0\).
It looks like the .exe files are linked to version 2.0.0.0
<http://2.0.0.0>but the version in the GAC is
2.4.0.0 <http://2.4.0.0>. If I copy the version folders from inside the GAC
and rename them to 2.0.0.0 <http://2.0.0.0> everything seems to work fine.
For example, to fix the above problem I copied:
C:\Program Files\Mono-
1.1.9.1\lib\mono\gac\gdk-sharp\2.4.0.0__35e10195dab3c99f
to
C:\Program Files\Mono-
1.1.9.1\lib\mono\gac\gdk-sharp\2.0.0.0__35e10195dab3c99f
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