BuildEventContext.TargetId Property

Definition

Id of the target the event was in when the event was fired

C#
public int TargetId { get; }
C#
public int TargetId { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; }

Property Value

An integer value representing the target ID.

Attributes

Applies to

Produto Versións
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17