11 references to AfterTargets
Microsoft.Build (3)
BackEnd\Components\RequestBuilder\TargetBuilder.cs (3)
432
bool didPushTargets = await PushTargets(afterTargets, currentTargetEntry.ParentEntry, currentTargetEntry.Lookup, currentTargetEntry.ErrorTarget, currentTargetEntry.StopProcessingOnCompletion, TargetBuiltReason.
AfterTargets
);
664
if (buildReason == TargetBuiltReason.BeforeTargets || buildReason == TargetBuiltReason.
AfterTargets
)
697
if (buildReason == TargetBuiltReason.
AfterTargets
)
Microsoft.Build.Engine.UnitTests (2)
BackEnd\LoggingServicesLogMethod_Tests.cs (1)
1552
service.LogTargetStarted(s_targetBuildEventContext, targetName, projectFile, projectFileOfTarget, parentTargetName, TargetBuiltReason.
AfterTargets
);
BuildEventArgsSerialization_Tests.cs (1)
207
TargetBuiltReason.
AfterTargets
,
Microsoft.Build.Framework.UnitTests (6)
CustomEventArgSerialization_Tests.cs (4)
720
TargetStartedEventArgs genericEvent = new TargetStartedEventArgs("Message", "HelpKeyword", "TargetName", "ProjectFile", "TargetFile", "ParentTargetStartedEvent", TargetBuiltReason.
AfterTargets
, DateTime.UtcNow);
738
genericEvent = new TargetStartedEventArgs(string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, TargetBuiltReason.
AfterTargets
, DateTime.Now);
756
genericEvent = new TargetStartedEventArgs(null, null, null, null, null, null, TargetBuiltReason.
AfterTargets
, DateTime.Now);
763
newGenericEvent = new TargetStartedEventArgs("Something", "Something", "Something", "Something", "Something", "Something", TargetBuiltReason.
AfterTargets
, DateTime.Now);
TargetStartedEventArgs_Tests.cs (2)
27
targetStartedEvent = new TargetStartedEventArgs("Message", "HelpKeyword", "TargetName", "ProjectFile", "TargetFile", "ParentTarget", TargetBuiltReason.
AfterTargets
, DateTime.Now);
30
targetStartedEvent = new TargetStartedEventArgs(null, null, null, null, null, null, TargetBuiltReason.
AfterTargets
, DateTime.Now);