[Mono-list] Link against a DLL? (System.TypeLoadException)

2011-05-23 Thread 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

Re: [Mono-list] Link against a DLL? (System.TypeLoadException)

2011-05-23 Thread Jacek Rużyczka
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,

Re: [Mono-list] Link against a DLL? (System.TypeLoadException)

2011-05-23 Thread Alan
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 stacheldr...@interia.pl: Am Montag 23 Mai 2011, 09:58:34 schrieb Doug: I'm having

Re: [Mono-list] Link against a DLL? (System.TypeLoadException)

2011-05-23 Thread Robert Jordan
On 23.05.2011 08:58, Doug wrote: 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,

Re: [Mono-list] Link against a DLL? (System.TypeLoadException)

2011-05-23 Thread Doug
Awesome, thank you. Yes, fixed by changing the compile line of the library to: gmcs /debug- /target:library AssemblyInfo.cs hello.cs /out:b.dll ~ Doug. On Mon, May 23, 2011 at 6:53 PM, Robert Jordan robe...@gmx.net wrote: On 23.05.2011 08:58, Doug wrote: I'm having some trouble compiling a