This documentation is archived and is not being maintained.

Microsoft.Build.Utilities Namespace

The Microsoft.Build.Utilities namespace provides helper classes that you can use to create your own MSBuild loggers and tasks. For more information, see MSBuild.

Public classAppDomainIsolatedTaskProvides the same functionality as Task, but also derives from MarshalByRefObject so that it can be instantiated in its own app domain.
Public classCommandLineBuilderComprises utility methods for constructing a command line.
Public classLoggerWhen overridden in a derived form, provides functionality for loggers that handle events raised by the MSBuild engine.
Public classProcessorArchitectureDetermines the correct tool in the Toolset that MSBuild should use, based on the current system's processor architecture.
Public classTaskWhen overridden in a derived form, provides functionality for tasks.
Public classTaskItemDefines a single item of the project as it is passed into a task.
Public classTaskLoggingHelperProvides helper logging methods used by tasks.
Public classToolLocationHelperProvides utility methods for locating .NET Framework and .NET Framework SDK files and directories.
Public classToolTaskWhen overridden in a derived form, provides functionality for a task that wraps a command line tool.

Public enumerationHostObjectInitializationStatusDefines the next action for ToolTask after an attempt to initialize the host object.
Public enumerationTargetDotNetFrameworkVersionSpecifies the version of the .NET Framework to use with the methods in ToolLocationHelper.