Microsoft.Build.BuildEngine Namespace

The Microsoft.Build.BuildEngine namespace represents the MSBuild engine. For information, see MSBuild.

Classes

BuildItem

Represents a single item in an MSBuild project.

BuildItemGroup

Represents a collection of BuildItem objects.

BuildItemGroupCollection

Represents a collection of BuildItemGroup objects.

BuildProperty

Represents a single property in an MSBuild project.

BuildPropertyGroup

Represents a collection of BuildProperty objects.

BuildPropertyGroupCollection

Represents a collection of BuildPropertyGroup objects.

BuildTask

Represents a Task element in a project.

ConfigurableForwardingLogger

Represents the ConfigurableForwardingLogger, a pre-fabricated forwarding logger to be used when building projects on a multi-proc or multi-core system. For more information, see Writing Multi-Processor-Aware Loggers.

ConsoleLogger

Implements the standard console logger that outputs event data to the console window during a build.

DistributedFileLogger

Represents a text file that contains the build log for a build node.

Engine

Represents the MSBuild engine.

FileLogger

Extends the ConsoleLogger to log messages to a file rather than the console window.

Import

Represents a single Import element in an MSBuild project.

ImportCollection

Represents a collection of all Import elements in a project.

InternalLoggerException

This exception is used to wrap an unhandled exception from a logger.

InvalidProjectFileException

This exception is thrown whenever there is a problem with the user's XML project file. The problem might be semantic or syntactical. If the problem is in the syntax, it can typically be caught by XSD validation.

InvalidToolsetDefinitionException

This exception is thrown whenever there is a problem with the user's custom toolset definition file. The problem might be semantic or syntactical. If the problem is in the syntax, it can typically be caught by XSD validation.

LocalNode

This class hosts a node class in the child build process. It uses shared memory to communicate with the local node provider.

LoggerDescription

Contains information about a logger as a collection of values that can be used to instantiate the logger as well as being serialized to pass between different processes.

Project

Represents a project that can be built using MSBuild.

RemoteErrorException

Wraps exceptions that occur on a different node.

SolutionWrapperProject

This class is used to generate an MSBuild wrapper project for a solution file or standalone VC project.

Target

Represents a single Target element in an MSBuild project.

TargetCollection

Represents a collection of all Target elements in a project.

Toolset

Represents a Toolset in MSBuild. For more information about Toolsets, see Standard and Custom Toolset Configurations.

ToolsetCollection

Represents one or more Toolset objects. A Toolset is a combination of a Toolset version (such as "2.0"), a tools path, and an optional set of associated properties.

UsingTask

Represents a single UsingTask element in an MSBuild project.

UsingTaskCollection

Represents a collection of all UsingTask elements in a project.

Utilities

Contains utility methods used by MSBuild. This class cannot be inherited.

Enums

BuildSettings

Specifies the settings for a build.

ProjectLoadSettings

Defines how MSBuild loads a project.

PropertyPosition

Specifies constants that define the location in the project to insert a property.

ToolsetDefinitionLocations

An enumeration whose values control Toolset initialization.

Delegates

ColorResetter

Defines the type of delegate used to reset the console color.

ColorSetter

Defines the type of delegate used to set the console color.

WriteHandler

Represents the method that writes strings to a certain location, such as the console window or a window in an integrated development environment.

Remarks

The classes in this namespace are deprecated. Please use the classes in these namespaces instead:

Microsoft.Build.Construction

Microsoft.Build.Evaluation

Microsoft.Build.Execution