Task.BuildEngine2 Property

Definition

The build engine automatically sets this property to allow tasks to call back into it. This is a convenience property so that task authors inheriting from this class do not have to cast the value from IBuildEngine to IBuildEngine2.

C#
public Microsoft.Build.Framework.IBuildEngine2 BuildEngine2 { get; }

Property Value

The build engine interface available to tasks.

Applies to

Product Versions
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17