共用方式為


IBuildEngine3 Interface

This interface extends IBuildEngine to provide a method allowing building project files in parallel.

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)

Syntax

'Declaration
Public Interface IBuildEngine3 _
    Inherits IBuildEngine2, IBuildEngine
public interface IBuildEngine3 : IBuildEngine2, 
    IBuildEngine
public interface class IBuildEngine3 : IBuildEngine2, 
    IBuildEngine
type IBuildEngine3 =  
    interface 
        interface IBuildEngine2 
        interface IBuildEngine 
    end
public interface IBuildEngine3 extends IBuildEngine2, IBuildEngine

The IBuildEngine3 type exposes the following members.

Properties

  Name Description
Public property ColumnNumberOfTaskNode 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.)
Public property ContinueOnError 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.)
Public property IsRunningMultipleNodes 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. (Inherited from IBuildEngine2.)
Public property LineNumberOfTaskNode 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.)
Public property ProjectFileOfTaskNode 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.)

Top

Methods

  Name Description
Public method 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.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.)
Public method 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.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 IBuildEngine2.)
Public method BuildProjectFilesInParallel(array<String[], array<String[], array<IDictionary[], array<IList<String>[], array<String[], Boolean) Allows tasks to initiate a build on a project fileMSBuild 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.
Public method BuildProjectFilesInParallel(array<String[], array<String[], array<IDictionary[], array<IDictionary[], array<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. (Inherited from IBuildEngine2.)
Public method LogCustomEvent 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.)
Public method LogErrorEvent 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.)
Public method LogMessageEvent 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.)
Public method LogWarningEvent 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.)
Public method Reacquire Waits to reacquire control after yielding.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.
Public method Yield Informs the system that this task has a long-running out-of-process component and other work can be done in the build while that work completes.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.

Top

See Also

Reference

Microsoft.Build.Framework Namespace