3 writes to _projectLoggingContext
Microsoft.Build (3)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (3)
1158
_projectLoggingContext
= null;
1350
_projectLoggingContext
= new ProjectLoggingContext(
1460
_projectLoggingContext
= ctx;
24 references to _projectLoggingContext
Microsoft.Build (24)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (24)
309
_projectLoggingContext
.LogError(new BuildEventFileInfo(String.Empty), "FailedToReceiveTaskThreadStatus", BuildParameters.RequestBuilderShutdownTimeout);
799
if (
_projectLoggingContext
!= null)
801
_projectLoggingContext
.LogInvalidProjectFileError(ex);
814
if (
_projectLoggingContext
is null)
820
_projectLoggingContext
.LogWarning("SolutionParseUnknownProjectType", ex.Message);
833
LoggingContext loggingContext = ((LoggingContext)
_projectLoggingContext
) ?? _nodeLoggingContext;
849
(((LoggingContext)
_projectLoggingContext
) ?? _nodeLoggingContext).LogError(BuildEventFileInfo.Empty, "UnhandledMSBuildError", ex.ToString());
896
if (
_projectLoggingContext
!= null)
900
_projectLoggingContext
.ProjectTelemetry.LogProjectTelemetry(
_projectLoggingContext
.LoggingService,
_projectLoggingContext
.BuildEventContext);
902
_projectLoggingContext
.LogProjectFinished(result.OverallResult == BuildResultCode.Success);
1229
_projectLoggingContext
.LogComment(MessageImportance.Low,
1235
_requestEntry.Request.BuildEventContext =
_projectLoggingContext
.BuildEventContext;
1258
BuildResult result = await _targetBuilder.BuildTargets(
_projectLoggingContext
, _requestEntry, this,
1269
_projectLoggingContext
.LogWarning(null, new BuildEventFileInfo(location),
1274
_projectLoggingContext
.LogWarning(null, new BuildEventFileInfo(location),
1297
if (buildCheckManager is not null &&
_projectLoggingContext
is not null)
1300
new CheckLoggingContext(_nodeLoggingContext.LoggingService,
_projectLoggingContext
.BuildEventContext),
1462
ILoggingService loggingService =
_projectLoggingContext
?.LoggingService;
1463
BuildEventContext projectBuildEventContext =
_projectLoggingContext
?.BuildEventContext;
1477
new CheckLoggingContext(_nodeLoggingContext.LoggingService,
_projectLoggingContext
!.BuildEventContext),
1541
BuildEventContext buildEventContext =
_projectLoggingContext
?.BuildEventContext;
1542
ILoggingService loggingService =
_projectLoggingContext
?.LoggingService;