Ler en inglés

Compartir por


TargetBuiltReason Enum

Definition

The reason that a target was built by its parent target.

C#
public enum TargetBuiltReason
Inheritance
TargetBuiltReason

Fields

Name Value Description
None 0

This wasn't built on because of a parent.

BeforeTargets 1

The target was part of the parent's BeforeTargets list.

DependsOn 2

The target was part of the parent's DependsOn list.

AfterTargets 3

The target was part of the parent's AfterTargets list.

InitialTargets 4

The target was defined as an initial target of the project.

DefaultTargets 5

The target was one of the default targets of the project.

EntryTargets 6

The target was one of the targets explicitly called to be built.

Applies to

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