IBuildEngine2 Interface

 

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

Namespace:   Microsoft.Build.Framework
Assembly:  Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)

public interface IBuildEngine2 : IBuildEngine

NameDescription
System_CAPS_pubpropertyColumnNumberOfTaskNode

Gets the line number of the task node within the project file that called it.(Inherited from IBuildEngine.)

System_CAPS_pubpropertyContinueOnError

Returns true if the ContinueOnError flag was set to true for this particular task in the project file.(Inherited from IBuildEngine.)

System_CAPS_pubpropertyIsRunningMultipleNodes

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

System_CAPS_pubpropertyLineNumberOfTaskNode

Gets the line number of the task node within the project file that called it.(Inherited from IBuildEngine.)

System_CAPS_pubpropertyProjectFileOfTaskNode

Gets the full path to the project file that contained the call to this task.(Inherited from IBuildEngine.)

NameDescription
System_CAPS_pubmethodBuildProjectFile(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.)

System_CAPS_pubmethodBuildProjectFile(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.

System_CAPS_pubmethodBuildProjectFilesInParallel(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.

System_CAPS_pubmethodLogCustomEvent(CustomBuildEventArgs)

Raises a custom event to all registered loggers.(Inherited from IBuildEngine.)

System_CAPS_pubmethodLogErrorEvent(BuildErrorEventArgs)

Raises an error event to all registered loggers.(Inherited from IBuildEngine.)

System_CAPS_pubmethodLogMessageEvent(BuildMessageEventArgs)

Raises a message event to all registered loggers.(Inherited from IBuildEngine.)

System_CAPS_pubmethodLogWarningEvent(BuildWarningEventArgs)

Raises a warning event to all registered loggers.(Inherited from IBuildEngine.)

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

.NET Framework
Available since 3.5
Return to top
Show: