[Mono-list] loading assemblies

Daniel Morgan danmorg@sc.rr.com
Wed, 18 Dec 2002 10:58:11 -0500

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?


Mono-list maillist  -  Mono-list@ximian.com