Export (0) Print
Expand All

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

The IBuildEngine2 type exposes the following members.

  NameDescription
Public propertyColumnNumberOfTaskNodeGets the line number of the task node within the project file that called it. (Inherited from IBuildEngine.)
Public propertyContinueOnErrorReturns true if the ContinueOnError flag was set to true for this particular task in the project file. (Inherited from IBuildEngine.)
Public propertyIsRunningMultipleNodesReturns whether the system is running in single- or multi-processor mode.
Public propertyLineNumberOfTaskNodeGets the line number of the task node within the project file that called it. (Inherited from IBuildEngine.)
Public propertyProjectFileOfTaskNodeGets the full path to the project file that contained the call to this task. (Inherited from IBuildEngine.)
Top

  NameDescription
Public methodBuildProjectFile(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.)
Public methodBuildProjectFile(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.
Public methodBuildProjectFilesInParallelAllows 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.
Public methodLogCustomEventRaises a custom event to all registered loggers. (Inherited from IBuildEngine.)
Public methodLogErrorEventRaises an error event to all registered loggers. (Inherited from IBuildEngine.)
Public methodLogMessageEventRaises a message event to all registered loggers. (Inherited from IBuildEngine.)
Public methodLogWarningEventRaises a warning event to all registered loggers. (Inherited from IBuildEngine.)
Top

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft