IBuildEngine2 Interface

 

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

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

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

type IBuildEngine2 = 
    interface
        interface IBuildEngine
    end

NameDescription
System_CAPS_pubpropertyColumnNumberOfTaskNode

Gets the line number of the task node within the project file that called it.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.(Inherited from IBuildEngine.)

System_CAPS_pubpropertyContinueOnError

Returns true if the ContinueOnError flag was set to true for this particular task in the project file.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.(Inherited from IBuildEngine.)

System_CAPS_pubpropertyIsRunningMultipleNodes

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

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

System_CAPS_pubpropertyLineNumberOfTaskNode

Gets the line number of the task node within the project file that called it.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.(Inherited from IBuildEngine.)

System_CAPS_pubpropertyProjectFileOfTaskNode

Gets the full path to the project file that contained the call to this task.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.(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.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.(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.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

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.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

System_CAPS_pubmethodLogCustomEvent(CustomBuildEventArgs)

Raises a custom event to all registered loggers.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.(Inherited from IBuildEngine.)

System_CAPS_pubmethodLogErrorEvent(BuildErrorEventArgs)

Raises an error event to all registered loggers.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.(Inherited from IBuildEngine.)

System_CAPS_pubmethodLogMessageEvent(BuildMessageEventArgs)

Raises a message event to all registered loggers.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.(Inherited from IBuildEngine.)

System_CAPS_pubmethodLogWarningEvent(BuildWarningEventArgs)

Raises a warning event to all registered loggers.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.(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.

Return to top
Show: