Show/Hide Toolbars

XSharp

The -noconfig option tells the compiler not to compile with the xsc.rsp file, which is located in and loaded from the same directory as the xsc.exe file.

Syntax

-noconfig  

Remarks

The xsc.rsp file references all the assemblies shipped with the .NET Framework. The actual references that the Visual Studio .NET development environment includes depend on the project type.

 

You can modify the xsc.rsp file and specify additional compiler options that should be included in every compilation from the command line with xsc.exe (except The -noconfig option).

 

The compiler processes the options passed to the xsc command last. Therefore, any option on the command line overrides the setting of the same option in the xsc.rsp file.

 

If you do not want the compiler to look for and use the settings in the xsc.rsp file, specify -noconfig.

 

This compiler option is unavailable in Visual Studio and cannot be changed programmatically.

 

The current contents of xsc.rsp is:

# Copyright (c)  XSharp BV.  All Rights Reserved.  
 
# This file contains command-line options that the X#
# command line compiler (XSC) will process as part
# of every compilation, unless the "/noconfig" option
# is specified.
 
# Reference the common Framework libraries
/r:Accessibility.dll
/r:Microsoft.CSharp.dll
/r:System.Configuration.dll
/r:System.Configuration.Install.dll
/r:System.Core.dll
/r:System.Data.dll
/r:System.Data.DataSetExtensions.dll
/r:System.Data.Linq.dll
/r:System.Data.OracleClient.dll
/r:System.Deployment.dll
/r:System.Design.dll
/r:System.DirectoryServices.dll
/r:System.dll
/r:System.Drawing.Design.dll
/r:System.Drawing.dll
/r:System.EnterpriseServices.dll
/r:System.Management.dll
/r:System.Messaging.dll
/r:System.Runtime.Remoting.dll
/r:System.Runtime.Serialization.dll
/r:System.Runtime.Serialization.Formatters.Soap.dll
/r:System.Security.dll
/r:System.ServiceModel.dll
/r:System.ServiceModel.Web.dll
/r:System.ServiceProcess.dll
/r:System.Transactions.dll
/r:System.Web.dll
/r:System.Web.Extensions.Design.dll
/r:System.Web.Extensions.dll
/r:System.Web.Mobile.dll
/r:System.Web.RegularExpressions.dll
/r:System.Web.Services.dll
/r:System.Windows.Forms.dll
/r:System.Workflow.Activities.dll
/r:System.Workflow.ComponentModel.dll
/r:System.Workflow.Runtime.dll
/r:System.Xml.dll
/r:System.Xml.Linq.dll