On Tue, 2009-01-27 at 21:16 -0800, k1Ll5w1tcH wrote:
> But this still doesn't explain why I have to compile with
> -r:System.Data.dll, when System.Data is in my GAC?

Furthermore, it should be noted that -r NEVER looks in the GAC -- for
example, if you have e.g. Mono.Cecil installed in your GAC,
-r:Mono.Cecil will NOT work.

-r only looks for assemblies in two directories:

  - The same directory as (g)mcs.exe, e.g. /usr/lib/mono/{1,2}.0
  - Any directories listed with -L

Otherwise, a full directory name should be used with -r (or use -pkg,
which will indirectly provide -r with a full path).

 - Jon


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

Reply via email to