This documentation is archived and is not being maintained.
IBuildEngine2 Interface
Visual Studio 2010
Provides a way for task authors to use a subset of the functionality of the MSBuild engine.
Assembly: Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)
The IBuildEngine2 type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | 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.) |
| Name | Description | |
|---|---|---|
![]() | BuildProjectFile(String, array<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, array<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 | 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 | Raises a custom event to all registered loggers. (Inherited from IBuildEngine.) |
![]() | LogErrorEvent | Raises an error event to all registered loggers. (Inherited from IBuildEngine.) |
![]() | LogMessageEvent | Raises a message event to all registered loggers. (Inherited from IBuildEngine.) |
![]() | LogWarningEvent | 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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
