[Mono-list] loading assemblies

Joe Shaw joe@ximian.com
18 Dec 2002 11:05:51 -0500


There are some very confusing rules for specifying assemblies with the
-r flag and MONO_PATH.  If you make sure that it doesn't end in ".dll",
you should be fine.

See http://bugzilla.ximian.com/show_bug.cgi?id=29580 for more info.

Joe

On Wed, 2002-12-18 at 10:58, Daniel Morgan wrote:
> I have the same problem.  MONO_PATH does not work for me either.
> 
> Here are some ideas:
> - set the path to your mono/install/lib in LD_LIBRARY_PATH
> - make sure your mono/install/bin and mono/install/lib are in your PATH
> - copy the the dll to the directory where you are compiling
> - when compiling, use compiler switch -lib:$HOME/mono/install/lib
> 
> Are you on Windows or Linux?
> 
> -----Original Message-----
> From: mono-list-admin@ximian.com [mailto:mono-list-admin@ximian.com]On
> Behalf Of Dan Guidara
> Sent: Tuesday, December 17, 2002 5:33 AM
> To: mono-list@go-mono.com
> Subject: [Mono-list] loading assemblies
> 
> 
> I have a quick question. I tried compiling something with mono with the -r
> flag and the name of the dll. Mono raised an error saying it could find the
> file. However, its in my MONO_PATH variable. When I compile using the full
> path it works alright.
> 
> I thought MONO_PATH would be searched whenever you complie?
> 
> Dan
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>