IBuildEngine2 Interface

Definition

Provides a way for task authors to use a subset of the functionality of the MSBuild engine.

public interface class IBuildEngine2 : Microsoft::Build::Framework::IBuildEngine
public interface IBuildEngine2 : Microsoft.Build.Framework.IBuildEngine
type IBuildEngine2 = interface
    interface IBuildEngine
Public Interface IBuildEngine2
Implements IBuildEngine
Derived
Implements

Remarks

IBuildEngine2 extends IBuildEngine, allowing you to build multiple project files in parallel on systems containing multiple processors, or processors with multiple cores.

Properties

ColumnNumberOfTaskNode

Gets the line number of the task node within the project file that called it.

(Inherited from IBuildEngine)
ContinueOnError

Returns true if the ContinueOnError flag was set to true for this particular task in the project file.

(Inherited from IBuildEngine)
IsRunningMultipleNodes

Returns whether the system is running in single- or multi-processor mode.

LineNumberOfTaskNode

Gets the line number of the task node within the project file that called it.

(Inherited from IBuildEngine)
ProjectFileOfTaskNode

Gets the full path to the project file that contained the call to this task.

(Inherited from IBuildEngine)

Methods

BuildProjectFile(String, String[], IDictionary, IDictionary)

Initiates a build of a project file. If the build is successful, the outputs, if any, of the specified targets are returned.

(Inherited from IBuildEngine)
BuildProjectFile(String, String[], IDictionary, IDictionary, String)

Initiates a build of a project file. If the build is successful, the outputs of the specified targets are returned, if any exist.

BuildProjectFilesInParallel(String[], String[], IDictionary[], IDictionary[], String[], Boolean, Boolean)

Allows tasks to initiate parallel builds of the specified project files on systems with multiple processors or multiple core processors. If the builds are successful, the outputs of the specified targets are returned, if any exist.

LogCustomEvent(CustomBuildEventArgs)

Raises a custom event to all registered loggers.

(Inherited from IBuildEngine)
LogErrorEvent(BuildErrorEventArgs)

Raises an error event to all registered loggers.

(Inherited from IBuildEngine)
LogMessageEvent(BuildMessageEventArgs)

Raises a message event to all registered loggers.

(Inherited from IBuildEngine)
LogWarningEvent(BuildWarningEventArgs)

Raises a warning event to all registered loggers.

(Inherited from IBuildEngine)

Applies to