Microsoft.Build.Utilities.v3.5 Comprises utility methods for constructing a command line. Initializes a new instance of the class. Appends the command line with the file name of the specified object. The task item specification to append to the command line. If it is null, then this method has no effect. Appends the command line with file name represented by the parameter, inserting quotation marks if necessary. The file name to append. If it is null, then this method has no effect. Appends the command line with the list of file names in the specified array, separated by the specified delimiter. The task item specifications to append. If the array is null, then this method has no effect. The delimiter to put between task item specifications in the command line. Appends the command line with the list of file names in the specified string array, separated by the specified delimiter. The file names to append. If the array is null, then this method has no effect. The delimiter to put between file names in the command line. Appends the command line with a file name, and surrounds the file name with quotation marks as necessary. The file name to append. Adds a space to the specified string, given the string is not empty. Appends the command line with the specified switch. The name of the switch to append to the command line. This value cannot be null. Appends the command line with a switch that takes a task item specification that acts a single string parameter. The name of the switch to append to the command line. This value cannot be null. The switch parameter to append to the command line. Quotation marks will be added as necessary. If this value is null, then this method has no effect. Appends the command line with a switch that takes an array of task item specifications that act as string parameters. The name of the switch to append to the command line. This value cannot be null. An array of switch parameters to append to the command line. Quotation marks will be added as necessary. If the array is null, then this method has no effect. The delimiter that separates individual parameters. This value can be empty, but it cannot be null. Appends the command line with a switch that takes a single string parameter. The name of the switch to append to the command line. This value cannot be null. The switch parameter to append to the command line. Quotation marks will be added as necessary. If this value is null, then this method has no effect. Appends the command line with a switch that takes an array of string parameters. The name of the switch to append to the command line. This value cannot be null. An array of switch parameters to append to the command line. Quotation marks will be added as necessary. If the array is null, then this method has no effect. The delimiter that separates individual parameters. This value can be empty, but it cannot be null. Appends the command line with a switch that takes a task item specification as a single string parameter, without attempting to encapsulate the switch parameter with quotation marks. The name of the switch to append to the command line. This value cannot be null. The switch parameter to append to the command line. Quotation marks will not be added. If this value is null, then this method has no effect. Appends the command line with a switch that takes an array of task item specifications that act as string parameters, without attempting to encapsulate them with quotation marks. The name of the switch to append to the command line. This value cannot be null. An array of switch parameters to append to the command line. Quotation marks will not be added. If the array is null, then this method has no effect. The delimiter that separates individual parameters. This value can be empty, but it cannot be null. Appends the command line with a switch that takes a single string parameter, without attempting to encapsulate the switch parameter with quotation marks. The name of the switch to append to the command line. This value cannot be null. The switch parameter to append to the command line. Quotation marks will not be added. If this value is null, then this method has no effect. Appends the command line with a switch that takes an array of string parameters, without attempting to encapsulate switch parameters with quotation marks. The name of the switch to append to the command line. This value cannot be null. An array of switch parameters to append to the command line. Quotation marks will not be added. If the array is null, then this method has no effect. The delimiter that separates individual parameters. This value can be empty, but it cannot be null. Appends the command line with string, without attempting to encapsulate the string with quotation marks. The string to append to the command line. Appends the command line with string, and surrounds the string with quotations marks as necessary. The string to append to the command line. Gets the instance representing the command line for inheriting classes. A for inheriting classes. Determines whether the specified string parameter should be surrounded with quotation marks because it contains white space. true, if the switch parameter should be surrounded with quotation marks; otherwise, false. The string to examine for characters that require quotation marks. Returns the command line as a string. A that represents the command line. Returns an error if the command line parameter contains a double-quote (") character. Because double quotes are illegal in command line parameters, this method helps prevent parameter injection attacks. A string representing the switch name for the error message. A string representing the switch parameter to scan for double-quotes. When overridden in a derived form, provides functionality for loggers that handle events raised by the MSBuild engine. Initializes a new instance of the class. Generates an error message that is in the default format, from a object. A that represents an error message in canonical format. The arguments of the error event. Generates a warning message that is in the default format, from a object. A that represents a warning message in canonical format. The arguments of the warning event. When overridden in a derived class, subscribes the logger to specific events. The available events that a logger can subscribe to. Determines whether the current setting is at least the value that is passed in. true if the current logger verbosity setting is at least the value that is passed in; otherwise, false. The logger verbosity setting passed in. Gets or sets the user-defined parameters of the logger. The logger parameters. This value can be null. When overridden in a derived class, releases the resources allocated to the logger at the time of initialization or during the build. Gets or sets the level of detail to show in the event log. One of the enumeration values. The default is . Determines the correct tool in the Toolset that MSBuild should use, based on the current system's processor architecture. Represents the AMD64 processor. Gets the current processor architecture of the system. A string containing the processor architecture value. Represents the IA64 processor. Represents MSIL. Represents an x86 processor. Gets the instance of the object used by the task. The available to tasks. Provides helper logging methods used by tasks. Initializes a new instance of the class and associates it with the specified task instance. The task containing an instance of this task. Gets the build engine that is associated with the task. An that represents the instance of the build engine that is associated with the task. Extracts the message code prefix from the given full message string. The message code prefix that is extracted from the full message string, or null if there is no message code. The full message to parse that includes code prefix. The message with the code prefix removed. is null. Loads the specified resource string and optionally formats it using the given arguments. The formatted string. The name of the string resource to load. Optional arguments for formatting the loaded string. is null. The string resource indicated by does not exist. The property of the owner task is not set. Formats the given string using the given arguments. The formatted string. The string to format. Arguments for formatting. is null. Gets a value that indicates whether the task has logged any errors through this logging helper object. true if the task has logged any errors through this logging helper object; otherwise, false. Gets or sets the prefix used to compose Help keywords from resource names. The prefix used to compose Help keywords from resource names. Logs the command line for an underlying tool, executable file, or shell command of a task using the specified importance level. One of the values of that indicates the importance level of the command line. The command line string. Logs the command line for an underlying tool, executable file, or shell command of a task. The command line string. Logs an error with the specified message. The message. Optional arguments for formatting the message string. is null. Logs an error using the specified message and other error details. The description of the error type. The error code. The Help keyword to associate with the error. The path to the file containing the error. The line in the file where the error occurs. The column in the file where the error occurs. The end line in the file where the error occurs. The end column in the file where the error occurs. The message. Optional arguments for formatting the message string. is null. Logs an error using the message from the given exception. The exception to log. is null. 2 Logs an error using the message, and optionally the stack trace, from the given exception. The exception to log true to include the stack trace in the log; otherwise, false. is null. 2 Logs an error using the specified resource string. The name of the string resource to load. The arguments for formatting the loaded string. is null. 2 Logs an error using the specified resource string and other error details. The name of the string resource that describes the error type. The error code. The Help keyword to associate with the error. The path to the file containing the error. The line in the file where the error occurs. The column in the file where the error occurs. The end line in the file where the error occurs. The end column in the file where the error occurs. The name of the string resource to load. The arguments for formatting the loaded string. is null. 2 Logs an error with an error code using the specified resource string. The name of the string resource to load. The arguments for formatting the loaded string. is null. 2 Logs an error using the specified resource string and other error details. The name of the string resource that describes the error type. The path to the file containing the error. The line in the file where the error occurs. The column in the file where the error occurs. The end line in the file where the error occurs. The end column in the file where the error occurs. The name of the string resource to load. The arguments for formatting the loaded string. is null. 2 Helps log the custom build event. The text message. The help keyword. The name of the project. true to indicate that project was built successfully; otherwise, false. 2 Helps log the custom build event. The text message. The help keyword. The name of the project. The targets to build. An empty string indicates default targets. 2 Logs a message with the specified string and importance. One of the enumeration values that specifies the importance of the message. The message. The arguments for formatting the message. is null. Logs a message with the specified string. The message. The arguments for formatting the message. is null. Logs a message with the specified resource string and importance. One of the enumeration values that specifies the importance of the message. The name of the string resource to load. The arguments for formatting the loaded string. is null. 2 Logs a message with the specified resource string. The name of the string resource to load. The arguments for formatting the loaded string. is null. 2 Logs an error message or warning from the given line of text. true if an error was logged; otherwise, false. The line of text to log from. One of the values of that indicates the importance level of the command line. is null. 2 Logs errors, warnings, and messages for each line of text in the given file. true to indicate at least one error was logged; otherwise, false. The name of the file to log messages from. is null. 2 Logs errors, warnings, and messages for each line of text in the given file. Also logs the importance of messages. true to indicate at least one error was logged; otherwise, false. The name of the file to log messages from. One of the enumeration values that specifies the importance of logged messages. 2 Logs an error message or warning from the given stream. true if an error was logged; otherwise, false. A that reads the stream to log from. One of the values of that indicates the importance level of the command line. is null. 2 Logs a warning with the specified message. The message. Optional arguments for formatting the message string. is null. Logs a warning using the specified message and other warning details. The description of the warning type. The warning code. The Help keyword to associate with the warning. The path to the file containing the warning. The line in the file where the warning occurs. The column in the file where the warning occurs. The end line in the file where the warning occurs. The end column in the file where the warning occurs. The message. Optional arguments for formatting the message string. is null. Logs a warning using the message from the specified exception. The exception to log. is null. 2 Logs a warning using the message, and optionally the stack trace, from the given exception. The exception to log true to include the stack trace in the log; otherwise, false. is null. 2 Logs a warning using the specified resource string. The name of the string resource to load. The arguments for formatting the loaded string. is null. 2 Logs a warning using the specified resource string and other warning details. The name of the string resource that describes the warning type. The warning code. The Help keyword to associate with the warning. The path to the file containing the warning. The line in the file where the warning occurs. The column in the file where the warning occurs. The end line in the file where the warning occurs. The end column in the file where the warning occurs. The name of the string resource to load. The arguments for formatting the loaded string. is null. 2 Logs a warning with a warning code using the specified resource string. The name of the string resource to load. The arguments for formatting the loaded string. is null. 2 Logs a warning with a warning code using the specified resource string and other warning details. The name of the string resource that describes the warning type. The path to the file containing the warning. The line in the file where the warning occurs. The column in the file where the warning occurs. The end line in the file where the warning occurs. The end column in the file where the warning occurs. The name of the string resource to load. The arguments for formatting the loaded string. is null. 2 Gets the name of the parent task. The name of the parent task. Gets or sets the culture-specific resources used by the logging methods. A that represents the culture-specific resources used by the logging methods. This value can be null. 2 Logs an error using the message, and optionally the stack-trace from the given exception and any inner exceptions. The exception to log. true to include the stack trace in the log; otherwise, false. true to log exception types and any inner exceptions; otherwise, false. The name of the file related to the exception, or null if the project file should be logged. is null. 2 Deletes the specified temporary file. The name of the temporary file to delete.