[Mono-list] Link against a DLL? (System.TypeLoadException)
Jacek Rużyczka
stacheldraht at interia.pl
Mon May 23 04:28:56 EDT 2011
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
More information about the Mono-list
mailing list