3 writes to _projectLoggingContext
Microsoft.Build (3)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (3)
1110
_projectLoggingContext
= null;
1147
_projectLoggingContext
= new ProjectLoggingContext(
1365
_projectLoggingContext
= ctx;
21 references to _projectLoggingContext
Microsoft.Build (21)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (21)
306
_projectLoggingContext
.LogError(new BuildEventFileInfo(String.Empty), "FailedToReceiveTaskThreadStatus", BuildParameters.RequestBuilderShutdownTimeout);
789
if (
_projectLoggingContext
!= null)
791
_projectLoggingContext
.LogInvalidProjectFileError(ex);
804
if (
_projectLoggingContext
is null)
810
_projectLoggingContext
.LogWarning("SolutionParseUnknownProjectType", ex.Message);
823
LoggingContext loggingContext = ((LoggingContext)
_projectLoggingContext
) ?? _nodeLoggingContext;
839
(((LoggingContext)
_projectLoggingContext
) ?? _nodeLoggingContext).LogError(BuildEventFileInfo.Empty, "UnhandledMSBuildError", ex.ToString());
879
if (
_projectLoggingContext
!= null)
883
_projectLoggingContext
.ProjectTelemetry.LogProjectTelemetry(
_projectLoggingContext
.LoggingService,
_projectLoggingContext
.BuildEventContext);
885
_projectLoggingContext
.LogProjectFinished(result.OverallResult == BuildResultCode.Success);
1180
_projectLoggingContext
.LogComment(MessageImportance.Low,
1186
_requestEntry.Request.BuildEventContext =
_projectLoggingContext
.BuildEventContext;
1215
BuildResult result = await _targetBuilder.BuildTargets(
_projectLoggingContext
, _requestEntry, this,
1235
new CheckLoggingContext(_nodeLoggingContext.LoggingService,
_projectLoggingContext
.BuildEventContext),
1367
ILoggingService loggingService =
_projectLoggingContext
?.LoggingService;
1368
BuildEventContext projectBuildEventContext =
_projectLoggingContext
?.BuildEventContext;
1382
new CheckLoggingContext(_nodeLoggingContext.LoggingService,
_projectLoggingContext
!.BuildEventContext),
1476
BuildEventContext buildEventContext =
_projectLoggingContext
?.BuildEventContext;
1477
ILoggingService loggingService =
_projectLoggingContext
?.LoggingService;