[Mono-list] Assembly reference

Joe Shaw joeshaw at novell.com
Fri Mar 3 11:47:35 EST 2006


Hi,

On Fri, 2006-03-03 at 13:02 +1100, Paddy Joy wrote:
> ** (/usr/local/lib/mono/1.0/mcs.exe:9298): WARNING **: The following 
> assembly referenced from /tmp/mono/trunk/gtk-sharp/vte/vte-sharp.dll 
> could not be loaded:
>      Assembly:   gtk-sharp    (assemblyref_index=3)
>      Version:    2.4.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 (/tmp/mono/trunk/gtk-sharp/vte/).
> 
> For some reason on my machine adding gtk-sharp.dll to the gac doesn't 
> fix the problem

Your vte-sharp.dll depends exactly upon gtk-sharp, version 2.4.0.0,
public key 35e10195dab3c99f.  The version you're installing into the GAC
must not be this version.

You can see what versions you have installed by running "gacutil -l
gtk-sharp".

Either you need to rebuild your vte-sharp DLL against the gtk-sharp you
have in your GAC, or you need to get the exact DLL version it is looking
for.

Joe



More information about the Mono-list mailing list