This topic has not yet been rated - Rate this topic

Csc Methods

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

The Csc type exposes the following members.

  Name Description
Protected method AddCommandLineCommands Infrastructure. Generates command line arguments that the command line tool must run directly from the command line and not from a response file. (Inherited from ManagedCompiler.)
Protected method AddResponseFileCommands Infrastructure. Fills the specified commandLine parameter with switches and other information that can go into a response file. (Overrides ManagedCompiler.AddResponseFileCommands(CommandLineBuilderExtension).)
Protected method CallHostObjectToExecute Infrastructure. Compiles the project through the host object. (Overrides ToolTask.CallHostObjectToExecute().)
Public method Cancel Cancels the process executing the task by asking it to close nicely, then after a short period, forcing termination. (Inherited from ToolTask.)
Protected method CheckAllReferencesExistOnDisk Infrastructure. Verifies that all specified references exist on disk. (Inherited from ManagedCompiler.)
Protected method CheckHostObjectSupport Infrastructure. Logs a message if the specified parameter is not supported by the host compiler. (Inherited from ManagedCompiler.)
Protected method DeleteTempFile Deletes the specified temporary file. (Inherited from ToolTask.)
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method Execute Runs the exectuable file with the specified task parameters. (Inherited from ToolTask.)
Protected method ExecuteTool Creates a temporoary response (.rsp) file and runs the executable file. (Inherited from ToolTask.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Protected method GenerateCommandLineCommands Infrastructure. Gets the switches and other information that the command line tool must run directly from the command line and not from a response file. (Inherited from ToolTaskExtension.)
Protected method GenerateFullPathToTool Infrastructure. Returns the full file path of the Csc tool. (Overrides ToolTask.GenerateFullPathToTool().)
Protected method GenerateResponseFileCommands Infrastructure. Gets the switch used by the command line tool to specify the response file. (Inherited from ToolTaskExtension.)
Protected method GetBoolParameterWithDefault Infrastructure. Gets the value of the specified Boolean parameter. (Inherited from ToolTaskExtension.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Protected method GetIntParameterWithDefault Infrastructure. Gets the value of the specified integer parameter. (Inherited from ToolTaskExtension.)
Protected method GetProcessStartInfo Initializes the information required to spawn the process executing the tool. (Inherited from ToolTask.)
Protected method GetResponseFileSwitch Returns the command line switch used by the executable file to specifiy a response (.rsp) file. (Inherited from ToolTask.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method GetWorkingDirectory Returns the directory in which to run the executable file. (Inherited from ToolTask.)
Protected method HandleTaskExecutionErrors Infrastructure. Handles the return code from the compiler. (Inherited from ManagedCompiler.)
Protected method InitializeHostObject Infrastructure. Returns a host object initialization status value that indicates what the next action should be. (Overrides ToolTask.InitializeHostObject().)
Protected method ListHasNoDuplicateItems Infrastructure. Determines if any duplicate items exist in the specified task parameter. (Inherited from ManagedCompiler.)
Protected method LogEventsFromTextOutput Parses a single line of text to identify any errors or warnings in canonical format. (Inherited from ToolTask.)
Protected method LogPathToTool Logs the tool name and path to all registered loggers. (Inherited from ToolTask.)
Protected method LogToolCommand Logs the starting point of the run to all registered loggers. (Inherited from ToolTask.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method ResponseFileEscape Overridable method to escape the content of the response file. (Inherited from ToolTask.)
Protected method SkipTaskExecution Indicates whether task execution should be skipped. (Inherited from ToolTask.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Protected method UseAlternateCommandLineToolToExecute Infrastructure. If an alternate tool name or tool path was specified in the project file, then that tool is used rather than the host compiler for integrated development environment (IDE) builds. (Inherited from ManagedCompiler.)
Protected method ValidateParameters Infrastructure. Validates the task parameters. (Inherited from ManagedCompiler.)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.