27 references to ProjectInstanceId
Microsoft.Build (20)
BackEnd\Components\Logging\LoggingService.cs (3)
1608return new WarningsConfigKey(buildEventContext.ProjectInstanceId, buildEventContext.ProjectContextId); 2212if (_warningsAsMessagesByProject != null && buildEventContext != null && buildEventContext.ProjectInstanceId != BuildEventContext.InvalidProjectInstanceId) 2250if (_warningsAsErrorsByProject != null && buildEventContext != null && buildEventContext.ProjectInstanceId != BuildEventContext.InvalidProjectInstanceId)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (2)
687projectBuildEventContext.ProjectInstanceId, 784targetBuildEventContext.ProjectInstanceId,
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
1550if (project != null && buildEventContext != null && loggingService != null && buildEventContext.ProjectInstanceId != BuildEventContext.InvalidProjectInstanceId)
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (6)
569else if (buildEventContext.ProjectInstanceId >= 0) 571if (_projectsByInstanceId.TryGetValue(buildEventContext.ProjectInstanceId, out string? val)) 649_projectsByInstanceId[buildEventContext.ProjectInstanceId] = projectFullPath; 690eventArgs.BuildEventContext.ProjectInstanceId != BuildEventContext.InvalidProjectInstanceId || 727checkContext.BuildEventContext.ProjectInstanceId, 744checkContext.BuildEventContext.ProjectInstanceId,
BuildCheck\Infrastructure\BuildEventsProcessor.cs (6)
78evaluationFinishedEventArgs.BuildEventContext?.ProjectInstanceId, 95evaluationFinishedEventArgs.BuildEventContext?.ProjectInstanceId, 109EnvironmentVariableCheckData checkData = new(projectPath, checkContext.BuildEventContext?.ProjectInstanceId, envVarKey, envVarValue, elementLocation); 119ProjectImportedCheckData checkData = new(importedProjectPath, projectPath, checkContext.BuildEventContext?.ProjectInstanceId); 163projectConfigurationId: taskStartedEventArgs.BuildEventContext.ProjectInstanceId, 241new ProjectRequestProcessingDoneData(projectFullPath, checkContext.BuildEventContext.ProjectInstanceId),
BuildCheck\OM\ParsedItemsCheckData.cs (1)
66: base(evaluationFinishedEventArgs.ProjectFile!, evaluationFinishedEventArgs.BuildEventContext?.ProjectInstanceId)
Logging\BinaryLogger\BuildEventArgsWriter.cs (1)
1429Write(buildEventContext.ProjectInstanceId);
Microsoft.Build.Framework (5)
BinaryTranslator.cs (1)
1305_writer.Write(value.ProjectInstanceId);
BinaryWriterExtensions.cs (1)
90writer.Write(context.ProjectInstanceId);
BuildEventContext.cs (2)
126return WithInstanceIdAndContextId(other.ProjectInstanceId, other.ProjectContextId); 313return $"Node={NodeId} Submission={SubmissionId} ProjectContext={ProjectContextId} ProjectInstance={ProjectInstanceId} Eval={EvaluationId} Target={TargetId} Task={TaskId}";
ProjectStartedEventArgs.cs (1)
361writer.Write((Int32)parentProjectBuildEventContext.ProjectInstanceId);
Microsoft.NET.ProjectData.Tasks (2)
ProjectDataBuildCompletionLogger.cs (2)
522 ProjectInstanceId = context.ProjectInstanceId, 533 : $"{context.NodeId}:{context.ProjectContextId}:{context.ProjectInstanceId}:{context.SubmissionId}:{context.EvaluationId}:{context.BuildRequestId}";