[Mono-list] Reference failed...

Tom Larsen tomar@apricot.com
Mon, 20 Sep 2004 14:37:03 -0700 (PDT)

I definately do not recommend mucking around the with the "system" config 
files.  That is a sure way to break your runtime framework. :-)

The application itself can have its own config file.  I think it is under 
the <dependantAssembly> node where you can specify where to find and how 
to bind assemblies for a given strong name.  As for the exact format I 
can't tell you at the moment since I don't have the documentation at work.

Tom Larsen

On Mon, 20 Sep 2004, John Sanabria wrote:

> Thanks Tom, for your quick response, but, the solution with, gtk-sharp,
> is put some-gtk-library.dll, in the directory where i did a simple
> example with gtk-sharp? Can you talk me more about the .config file
> solution?
> When i put a .dll in the gac directory, with the gacutil, i need to "sign"
> the .dll. I did it before, but the way that i know, i have to modify the
> source of .dll, for example: if i don't have access to this file, how to
> sign the .dll in order to gacutil accept the .dll file in the "restricted"
> directory of assemblies?
> thanks for your answer.
>>> [josanabr@localhost Gtk#]$ mono Hello.exe
>>> ** (Hello.exe:10051): WARNING **: Could not find assembly gtk-sharp,
>>> references from /home/josanabr/Trabajo/C#/Gtk#/Hello.exe
>>> (assemblyref_index=1)
>>>     Major/Minor: 1,0
>>>     Build:       0,0
>>>     Token:       35e10195dab3c99f
>>> cannot open assembly Hello.exe
>>> [josanabr@localhost Gtk#]$
>>> -=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-
>>> I send those problems, in the same mail, because i think that are
>>> releated.
>>> Any suggestions? Thanks a lot for your attention and help.
>>> best regards.
>>> _______________________________________________
>>> Mono-list maillist  -  Mono-list@lists.ximian.com
>>> http://lists.ximian.com/mailman/listinfo/mono-list
>> _______________________________________________
>> Mono-list maillist  -  Mono-list@lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list