There's no need to put anything into the GAC. If both assemblies are
in the same directory it should work fine. Are the assemblies still in
the same directory when you run the application?

2011/5/23 Jacek Rużyczka <[email protected]>:
> Am Montag 23 Mai 2011, 09:58:34 schrieb Doug:
>> I'm having some trouble compiling a DLL and linking against it.
>>
>> Should be trivial, so I must be doing something wrong; I keep getting the
>> error:
>> ** (./a.out:27535): WARNING **: The class HelloLib.Hello could not be
>> loaded, used in a, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
>>
>> Unhandled Exception: System.TypeLoadException: Could not load type
>> 'HelloLib.Hello' from assembly 'a, Version=1.0.0.0, Culture=neutral,
>> PublicKeyToken=null'.
>>
> Hi Doug,
>
> try adding the ready compiled DLL into your GAC by typing gavutil -i
> HelloLib.dll, then try again.
>
> Kind regards
> Jacek Rużyczka
>
> ----------------------------------------------------------------
> Najlepsze oferty na mieszkania i domy!
> Odwiedz >> http://linkint.pl/f29a9
> _______________________________________________
> Mono-list maillist  -  [email protected]
> http://lists.ximian.com/mailman/listinfo/mono-list
>
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to