IBuildEngine2 Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This interface extends IBuildEngine to provide a method allowing building project files in parallel.
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 |
Retrieves 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 |
This property allows a task to query whether or not the system is running in single process mode or multi process mode. Single process mode (IsRunningMultipleNodes = false) is where the engine is initialized with the number of cpus = 1 and the engine is not a child engine. The engine is in multi process mode (IsRunningMultipleNodes = true) when the engine is initialized with a number of cpus > 1 or the engine is a child engine. |
LineNumberOfTaskNode |
Retrieves the line number of the task node within the project file that called it. (Inherited from IBuildEngine) |
ProjectFileOfTaskNode |
Returns the full path to the project file that contained the call to this task. (Inherited from IBuildEngine) |
Methods
BuildProjectFile(String, String[], IDictionary, IDictionary) |
This method allows tasks to initiate a build on a particular 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) |
This method allows tasks to initiate a build on a particular project file. If the build is successful, the outputs (if any) of the specified targets are returned. |
BuildProjectFilesInParallel(String[], String[], IDictionary[], IDictionary[], String[], Boolean, Boolean) |
This method allows tasks to initiate a build on a particular project file. If the build is successful, the outputs (if any) of the specified targets are returned. |
LogCustomEvent(CustomBuildEventArgs) |
Allows tasks to raise custom events to all registered loggers. The build engine may perform some filtering or pre-processing on the events, before dispatching them. (Inherited from IBuildEngine) |
LogErrorEvent(BuildErrorEventArgs) |
Allows tasks to raise error events to all registered loggers. The build engine may perform some filtering or pre-processing on the events, before dispatching them. (Inherited from IBuildEngine) |
LogMessageEvent(BuildMessageEventArgs) |
Allows tasks to raise message events to all registered loggers. The build engine may perform some filtering or pre-processing on the events, before dispatching them. (Inherited from IBuildEngine) |
LogWarningEvent(BuildWarningEventArgs) |
Allows tasks to raise warning events to all registered loggers. The build engine may perform some filtering or pre-processing on the events, before dispatching them. (Inherited from IBuildEngine) |