次の方法で共有


IBuildEngine4 Interface

This interface extends IBuildEngine to provide a mechanism allowing tasks to share data between task invocations.

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 IBuildEngine4 _
    Inherits IBuildEngine3, IBuildEngine2, IBuildEngine
public interface IBuildEngine4 : IBuildEngine3, 
    IBuildEngine2, IBuildEngine
public interface class IBuildEngine4 : IBuildEngine3, 
    IBuildEngine2, IBuildEngine
type IBuildEngine4 =  
    interface 
        interface IBuildEngine3 
        interface IBuildEngine2 
        interface IBuildEngine 
    end
public interface IBuildEngine4 extends IBuildEngine3, IBuildEngine2, IBuildEngine

The IBuildEngine4 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. (Inherited from IBuildEngine3.)
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 GetRegisteredTaskObject Retrieves a previously registered task object stored with the specified key.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 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. (Inherited from IBuildEngine3.)
Public method RegisterTaskObject Registers an object with the system that will be disposed of at some specified time in the future.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 UnregisterTaskObject Unregisters a previously registered task object.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. (Inherited from IBuildEngine3.)

Top

See Also

Reference

Microsoft.Build.Framework Namespace