NAnt SDK Documentation - v0.92

CscTask Methods

The methods of the CscTask class are listed below. For a complete list of CscTask class members, see the CscTask Members topic.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Execute (inherited from Task) Executes the task unless it is skipped.
GetHashCode (inherited from Object) Serves as a hash function for a particular type.
GetLocation (inherited from Element) Retrieves the location in the build file where the element is defined.
GetManifestResourceName (inherited from CompilerBase)Overloaded. Determines the manifest resource name of the given resource file.
GetType (inherited from Object) Gets the Type of the current instance.
Initialize (inherited from Element)Overloaded. Performs default initialization.
InitializeTaskConfiguration (inherited from Task) Initializes the configuration of the task using configuration settings retrieved from the NAnt configuration file.
IsLogEnabledFor (inherited from Task) Determines whether build output is enabled for the given Level.
Log (inherited from Task)Overloaded. Logs a message with the given priority.
PerformSearchForResourceLinkage (inherited from CompilerBase) Extracts the associated namespace/classname linkage found in the given stream.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

CompileResxResources (inherited from CompilerBase) Compiles a set of resx files to a .resources files.
CopyTo (inherited from Element) Copies all instance data of the Element to a given Element.
ExecuteTask (inherited from CompilerBase) Compiles the sources and resources.
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
GetAttributeConfigurationNode (inherited from Task)Overloaded. Locates the XML node for the specified attribute in either the configuration section of the extension assembly or the.project.
GetAttributeConfigurationNode (inherited from Element)Overloaded. Locates the XML node for the specified attribute in the project configuration node.
GetResourceLinkage (inherited from CompilerBase) Finds the correct namespace/classname for a resource file from the given dependent source file.
Initialize (inherited from Task)Overloaded. Initializes the task.
InitializeElement (inherited from Element)Obsolete. Derived classes should override to this method to provide extra initialization and validation not covered by the base class.
InitializeTask (inherited from Task)Obsolete. Initializes the task.
InitializeXml (inherited from Element) Initializes all build attributes and child elements.
LinkResourceAssembly (inherited from CompilerBase) Link a list of files into a resource assembly.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
NeedsCompiling Determines whether compilation is needed.
PrepareProcess (inherited from ExternalProgramBase) Updates the ProcessStartInfo of the specified Process.
StartProcess (inherited from ExternalProgramBase) Starts the process and handles errors.
WriteConditionalCompilationConstants (inherited from CompilerBase) Writes conditional compilation constants to the specified TextWriter.
WriteModuleReferences (inherited from CompilerBase) Writes module references to the specified TextWriter.
WriteNoWarnList (inherited from CompilerBase) Writes list of warnings to suppress to the specified TextWriter.
WriteOption (inherited from CompilerBase)Overloaded. Writes an option using the default output format.
WriteOptions Writes the compiler options to the specified TextWriter.
WritePackageReferences (inherited from CompilerBase) Writes package references to the specified TextWriter.
WriteWarningsAsError (inherited from CompilerBase) Writes list of warnings to (not) treat as errors to the specified TextWriter.

See Also

CscTask Class | NAnt.DotNet.Tasks Namespace