Partager via


Task.BuildEngine2 Property

Gets the instance of the IBuildEngine2 object used by the 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.

Namespace:  Microsoft.Build.Utilities
Assembly:  Microsoft.Build.Utilities.Core (in Microsoft.Build.Utilities.Core.dll)

Syntax

'Declaration
Public ReadOnly Property BuildEngine2 As IBuildEngine2
public IBuildEngine2 BuildEngine2 { get; }
public:
property IBuildEngine2^ BuildEngine2 {
    IBuildEngine2^ get ();
}
member BuildEngine2 : IBuildEngine2 with get
function get BuildEngine2 () : IBuildEngine2

Property Value

Type: Microsoft.Build.Framework.IBuildEngine2
The IBuildEngine2 available to tasks.

.NET Framework Security

See Also

Reference

Task Class

Microsoft.Build.Utilities Namespace