Delen via


Task.BuildEngine Property

Gets or sets the instance of the IBuildEngine 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 Property BuildEngine As IBuildEngine
public IBuildEngine BuildEngine { get; set; }
public:
virtual property IBuildEngine^ BuildEngine {
    IBuildEngine^ get () sealed;
    void set (IBuildEngine^ value) sealed;
}
abstract BuildEngine : IBuildEngine with get, set 
override BuildEngine : IBuildEngine with get, set
final function get BuildEngine () : IBuildEngine 
final function set BuildEngine (value : IBuildEngine)

Property Value

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

Implements

ITask.BuildEngine

Remarks

The build engine automatically sets this property to allow tasks to call back into it.

.NET Framework Security

See Also

Reference

Task Class

Microsoft.Build.Utilities Namespace