[Mono-devel-list] MCS library referencing.

Francisco T. Martinez martinf at mfconsulting.com
Wed Jun 2 13:10:01 EDT 2004

Todd Berman wrote:

> Currently, mcs allows you to do two things that csc does not wrt 
> library referencing on the commandline.
> The first is:
> mcs test.cs -r:System.Web
> will compile successfully, where as the equivalent csc line gives you 
> an CS0006: Metadata file 'System.Web' could not be found.
> This same error is seen in other places as well, where the .dll is 
> left off the commandline. MCS attempts to be smart (with good results) 
> and appends a .dll for you if it needs to.
> It seems like we need to remove those checks, and require .dll on the 
> end. This is very much similar to the reason the /package stuff exists 
> in mcs. When compiling, you are supposed to compile against a specific 
> assembly file, not against something abstract.
> Any thoughts?
> --Todd
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list

I am all for the more strict behavior of mcs when it comes to 
references.  I also stand for the closest "mirror set" of command line 
arguments and functionality between csc.exe and mcs.exe.  However, that 
is not to say that we can not provide unique funtionality that inovates 
and expanded utility.

More information about the Mono-devel-list mailing list