Hi,

Just a quick question about the GAC and referencing dll's.

Sometimes when I am compiling mono related software, for example in this case gtk-sharp, I get an error messages like this:

** (/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:

[EMAIL PROTECTED] gtk-sharp]# gacutil -i gtk/gtk-sharp.dll
gtk-sharp installed into the gac (/usr/local/lib/mono/gac)
[EMAIL PROTECTED] gtk-sharp]#

I need to copy the .dll into the current directory or set the MONO_PATH environment variable for the compilation to work.

Is there something wrong with my gac or am I doing something else wrong?

Thanks,
Paddy
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to