Although I think it would be wise to keep mono/gtk#/etc in the same
prefix, you can use the MONO_PATH variable to tell mono where to look.



...totally agree that I shouldn't have my installation all over the place. I'm not really sure if the fact that mcs can't find the dlls by default is related to why monodoc can't find the dlls but it seems to make sense (for now). I tried what you said:

**************************************
[EMAIL PROTECTED] lib]# MONO_PATH=/usr/lib
[EMAIL PROTECTED] lib]# cd /home/chrisv
[EMAIL PROTECTED] chrisv]# mcs test.cs /r:gtk-sharp
error CS0006: Cannot find assembly `gtk-sharp'
Log:

Compilation failed: 1 error(s), 0 warnings
[EMAIL PROTECTED] chrisv]# echo $MONO_PATH
/usr/lib
**************************************

...and it failed. Just to show that it does work:

**************************************
[EMAIL PROTECTED] chrisv]# mcs test.cs /r:/usr/lib/gtk-sharp
Compilation succeeded
**************************************



_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to