[Mono-dev] [PATCH] mcs.exe rsp file support

Miguel de Icaza miguel at ximian.com
Wed Aug 31 09:56:15 EDT 2005


> IMHO those people who really care about performance should use
> /noconfig (that's exactly the same behavior that csc does as
> well as Peter's patch does). It could be also used to build
> mscorlib, System and System.Xml dlls.
> Or at least we could provide something like /rsp to enable rsp file
> which is much easier than typing -r:System.Drawing.dll
> -r:System.Windows.Forms.dll -r:System.Data.dll
> -r:System.Runtime.Remoting.dll
> -r:System.Runtime.Serialization.Formatters.Soap.dll manually.

I added a pc file that you can use:

	mcs -pkg:dotnet file.cs

Which includes all of the .NET libraries.

Notice that this requires all of the libraries to be installed: if you
have a partial Mono install (because you manually selected only a few
packages, or your distribution does not include all of the assemblies)
you will get an error when building. 

This in general is not an issue for those who have Mono installations
from source. 


More information about the Mono-devel-list mailing list