Put this in a RSP file:
# command line options
/r:Accessibility.dll
/r:Microsoft.Vsa.dll
/r:System.dll
/r:System.Configuration.Install.dll
/r:System.Data.dll
/r:System.Design.dll
/r:System.DirectoryServices.dll
/r:System.Drawing.dll
/r:System.Drawing.Design.dll
/r:System.EnterpriseServices.dll
/r:System.Management.dll
/r:System.Messaging.dll
/r:System.Runtime.Remoting.dll
/r:System.Runtime.Serialization.Formatters.Soap.dll
/r:System.Security.dll
/r:System.ServiceProcess.dll
/r:System.Web.dll
/r:System.Web.Services.dll
/r:System.XML.dll
/nologo
/optionexplicit+
/optionstrict+