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 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 classCanonicalTrackedInputFilesThis class is the filetracking log interpreter for .read. tracking logs in canonical form or those that have been rooted (^) to make them canonical
Public classCanonicalTrackedOutputFilesThis class is the file tracking log interpreter for .write. tracking logs in canonical form Canoncial .write. logs need to be rooted, since the outputs need to be associated with an input.
Public classCommandLineBuilderComprises utility methods for constructing a command line.
Public classFileTrackerThis class contains utility functions to encapsulate launching and logging for the Tracker
Public classFlatTrackingDataThis class is used to track file dependencies during a build.
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 classTrackedDependenciesThis class contains utility functions to assist with tracking dependencies

Public delegateDependencyFilterDependency filter delegate. Used during TLog saves in order for tasks to selectively remove dependencies from the written graph.

Public enumerationDotNetFrameworkArchitectureUsed to specify the targeted bitness of the .NET Framework for some methods of ToolLocationHelper
Public enumerationExecutableTypeEnumeration to express the type of executable being wrapped by Tracker.exe
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.
Public enumerationUpToDateCheckTypeThe possible types of up to date check that we can support