BuildEventArgs.BuildEventContext Property

Definition

Event contextual information for the build event argument

C#
public Microsoft.Build.Framework.BuildEventContext BuildEventContext { get; set; }
C#
public Microsoft.Build.Framework.BuildEventContext? BuildEventContext { get; set; }
C#
public Microsoft.Build.Framework.BuildEventContext BuildEventContext { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }

Property Value

A BuildEventContext object representing the location contextual information.

Attributes

Applies to

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