6 references to BeforeTargets
Microsoft.Build (3)
BackEnd\Components\RequestBuilder\TargetBuilder.cs (3)
453
bool pushedTargets = await PushTargets(beforeTargets, currentTargetEntry, currentTargetEntry.Lookup, currentTargetEntry.ErrorTarget, stopProcessingStack, TargetBuiltReason.
BeforeTargets
);
664
if (buildReason == TargetBuiltReason.
BeforeTargets
|| buildReason == TargetBuiltReason.AfterTargets)
710
if (buildReason == TargetBuiltReason.
BeforeTargets
|| buildReason == TargetBuiltReason.DependsOn || buildReason == TargetBuiltReason.None)
Microsoft.Build.Engine.UnitTests (3)
BackEnd\LoggingServicesLogMethod_Tests.cs (1)
1558
service.LogTargetStarted(s_targetBuildEventContext, targetName, projectFile, projectFileOfTarget, parentTargetName, TargetBuiltReason.
BeforeTargets
);
BackEnd\TaskBuilderTestTask.cs (1)
1181
public TargetBuiltReason EnumOutput => TargetBuiltReason.
BeforeTargets
;
BackEnd\TaskHostFactory_Tests.cs (1)
207
projectInstance.GetPropertyValue("EnumOutput").ShouldBe(TargetBuiltReason.
BeforeTargets
.ToString());