IBuildEngine 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 IBuildEngine

The IBuildEngine type exposes the following members.

  NameDescription
Public propertyColumnNumberOfTaskNodeGets the line number of the task node within the project file that called it.
Public propertyContinueOnErrorReturns true if the ContinueOnError flag was set to true for this particular task in the project file.
Public propertyLineNumberOfTaskNodeGets the line number of the task node within the project file that called it.
Public propertyProjectFileOfTaskNodeGets the full path to the project file that contained the call to this task.
Top

  NameDescription
Public methodBuildProjectFileInitiates a build of a project file. If the build is successful, the outputs, if any, of the specified targets are returned.
Public methodLogCustomEventRaises a custom event to all registered loggers.
Public methodLogErrorEventRaises an error event to all registered loggers.
Public methodLogMessageEventRaises a message event to all registered loggers.
Public methodLogWarningEventRaises a warning event to all registered loggers.
Top

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft