33 references to InvalidTargetId
Microsoft.Build (24)
BackEnd\BuildManager\BuildManager.cs (9)
1384
BuildEventContext.
InvalidTargetId
,
1473
buildEventContext = new BuildEventContext(request.SubmissionId, 0, BuildEventContext.InvalidProjectInstanceId, BuildEventContext.InvalidProjectContextId, BuildEventContext.
InvalidTargetId
, BuildEventContext.InvalidTaskId);
1735
BuildEventContext buildEventContext = new BuildEventContext(submission.SubmissionId, 1, BuildEventContext.InvalidProjectInstanceId, BuildEventContext.InvalidProjectContextId, BuildEventContext.
InvalidTargetId
, BuildEventContext.InvalidTaskId);
1844
BuildEventContext projectBuildEventContext = new BuildEventContext(submission.SubmissionId, 1, BuildEventContext.InvalidProjectInstanceId, BuildEventContext.InvalidProjectContextId, BuildEventContext.
InvalidTargetId
, BuildEventContext.InvalidTaskId);
1860
var buildEventContext = new BuildEventContext(submission.SubmissionId, 1, BuildEventContext.InvalidProjectInstanceId, BuildEventContext.InvalidProjectContextId, BuildEventContext.
InvalidTargetId
, BuildEventContext.InvalidTaskId);
1920
BuildEventContext.
InvalidTargetId
,
2438
: new BuildEventContext(result.SubmissionId, node, configuration.Project?.EvaluationId ?? BuildEventContext.InvalidEvaluationId, configuration.ConfigurationId, BuildEventContext.InvalidProjectContextId, BuildEventContext.
InvalidTargetId
, BuildEventContext.InvalidTaskId);
2477
BuildEventContext buildEventContext = new BuildEventContext(submission.SubmissionId, BuildEventContext.InvalidNodeId, BuildEventContext.InvalidProjectInstanceId, BuildEventContext.InvalidProjectContextId, BuildEventContext.
InvalidTargetId
, BuildEventContext.InvalidTaskId);
2633
BuildEventContext buildEventContext = new BuildEventContext(0, Scheduler.VirtualNode, BuildEventContext.InvalidProjectInstanceId, BuildEventContext.InvalidProjectContextId, BuildEventContext.
InvalidTargetId
, BuildEventContext.InvalidTaskId);
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (1)
292
BuildEventContext = new BuildEventContext(nodeId, BuildEventContext.
InvalidTargetId
, BuildEventContext.InvalidProjectContextId, BuildEventContext.InvalidTaskId)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (3)
405
=> new BuildEventContext(submissionId, nodeId, NextEvaluationId, BuildEventContext.InvalidProjectInstanceId, BuildEventContext.InvalidProjectContextId, BuildEventContext.
InvalidTargetId
, BuildEventContext.InvalidTaskId);
423
return new BuildEventContext(submissionId, nodeId, evaluationId, projectInstanceId, projectContextId, BuildEventContext.
InvalidTargetId
, BuildEventContext.InvalidTaskId);
572
BuildEventContext projectBuildEventContext = new BuildEventContext(submissionId, nodeBuildEventContext.NodeId, evaluationId, configurationId, projectContextId, BuildEventContext.
InvalidTargetId
, BuildEventContext.InvalidTaskId);
BackEnd\Components\Logging\NodeLoggingContext.cs (1)
24
: base(loggingService, new BuildEventContext(nodeId, BuildEventContext.
InvalidTargetId
, BuildEventContext.InvalidProjectContextId, BuildEventContext.InvalidTaskId), inProcNode)
BackEnd\Components\Scheduler\Scheduler.cs (1)
2024
BuildEventContext.
InvalidTargetId
,
BackEnd\Shared\BuildRequestConfiguration.cs (1)
491
BuildEventContext.
InvalidTargetId
,
BuildCheck\Infrastructure\BuildCheckBuildEventHandler.cs (1)
186
BuildEventContext.
InvalidTargetId
,
Definition\Project.cs (1)
64
private static readonly BuildEventContext s_buildEventContext = new BuildEventContext(0 /* node ID */, BuildEventContext.
InvalidTargetId
, BuildEventContext.InvalidProjectContextId, BuildEventContext.InvalidTaskId);
Definition\ProjectCollection.cs (2)
359
BuildEventContext buildEventContext = new BuildEventContext(0 /* node ID */, BuildEventContext.
InvalidTargetId
, BuildEventContext.InvalidProjectContextId, BuildEventContext.InvalidTaskId);
1202
var buildEventContext = new BuildEventContext(0 /* node ID */, BuildEventContext.
InvalidTargetId
, BuildEventContext.InvalidProjectContextId, BuildEventContext.InvalidTaskId);
Instance\ProjectInstance.cs (4)
309
BuildEventContext buildEventContext = new BuildEventContext(buildParameters.NodeId, BuildEventContext.
InvalidTargetId
, BuildEventContext.InvalidProjectContextId, BuildEventContext.InvalidTaskId);
515
BuildEventContext buildEventContext = new BuildEventContext(0, BuildEventContext.
InvalidTargetId
, BuildEventContext.InvalidProjectContextId, BuildEventContext.InvalidTaskId);
589
BuildEventContext buildEventContext = new BuildEventContext(0, BuildEventContext.
InvalidTargetId
, BuildEventContext.InvalidProjectContextId, BuildEventContext.InvalidTaskId);
604
BuildEventContext buildEventContext = new BuildEventContext(submissionId, 0, BuildEventContext.InvalidProjectInstanceId, BuildEventContext.InvalidProjectContextId, BuildEventContext.
InvalidTargetId
, BuildEventContext.InvalidTaskId);
Microsoft.Build.Engine.UnitTests (8)
BackEnd\LoggingServicesLogMethod_Tests.cs (4)
875
BuildEventContext nodeBuildEventContext = new BuildEventContext(Scheduler.InProcNodeId, BuildEventContext.
InvalidTargetId
, BuildEventContext.InvalidProjectContextId, BuildEventContext.InvalidTaskId);
910
BuildEventContext nodeBuildEventContext = new BuildEventContext(Scheduler.InProcNodeId, BuildEventContext.
InvalidTargetId
, BuildEventContext.InvalidProjectContextId, BuildEventContext.InvalidTaskId);
951
BuildEventContext nodeBuildEventContext = new BuildEventContext(NodeId, BuildEventContext.
InvalidTargetId
, BuildEventContext.InvalidProjectContextId, BuildEventContext.InvalidTaskId);
1426
new BuildEventContext(1, BuildEventContext.
InvalidTargetId
, BuildEventContext.InvalidProjectContextId, BuildEventContext.InvalidTaskId),
ConsoleLogger_Tests.cs (1)
2135
ProjectStartedEventArgs project1Started = new ProjectStartedEventArgs(1, null, null, "p", "t", null, null, new BuildEventContext(BuildEventContext.InvalidNodeId, BuildEventContext.
InvalidTargetId
, BuildEventContext.InvalidProjectContextId, BuildEventContext.InvalidTaskId));
Graph\IsolateProjects_Tests.cs (1)
218
logger.Errors.First().BuildEventContext.TargetId.ShouldNotBe(BuildEventContext.
InvalidTargetId
);
Graph\ResultCacheBasedBuilds_Tests.cs (1)
403
results["1"].Logger.Errors.First().BuildEventContext.TargetId.ShouldNotBe(BuildEventContext.
InvalidTargetId
);
Instance\ProjectInstance_Internal_Tests.cs (1)
861
BuildEventContext buildEventContext = new BuildEventContext(0, BuildEventContext.
InvalidTargetId
, BuildEventContext.InvalidProjectContextId, BuildEventContext.InvalidTaskId);
Microsoft.Build.Framework (1)
BuildEventContext.cs (1)
134
public static BuildEventContext Invalid { get; } = new BuildEventContext(InvalidNodeId,
InvalidTargetId
, InvalidProjectContextId, InvalidTaskId);