32 references to LogError
Microsoft.Build (32)
BackEnd\BuildManager\MultiThreadedStrictModeScope.cs (1)
189
taskLoggingContext.
LogError
(taskLocation,
BackEnd\Components\RequestBuilder\RequestBuilder.cs (3)
310
_projectLoggingContext.
LogError
(
838
loggingContext.
LogError
(
853
(((LoggingContext)_projectLoggingContext) ?? _nodeLoggingContext).
LogError
(ElementLocation.Empty, "UnhandledMSBuildError", ex.ToString());
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
1058
taskLoggingContext.
LogError
(_targetChildInstance.Location,
BackEnd\Components\SdkResolution\SdkResolverService.cs (2)
255
loggingContext.
LogError
(sdkReferenceLocation, "SingleResolverFailedToResolveSDK", sdk.Name, resolvers[0].Name, string.Join(Environment.NewLine, errors));
260
loggingContext.
LogError
(sdkReferenceLocation, "FailedToResolveSDK", sdk.Name, string.Join($"{Environment.NewLine} ", errors));
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (13)
591
_taskLoggingContext.
LogError
(_taskLocation, "TaskParametersError", _taskName, e.Message);
700
_targetLoggingContext.
LogError
(
1217
_targetLoggingContext.
LogError
(
1227
_targetLoggingContext.
LogError
(
1298
_taskLoggingContext.
LogError
(
1345
_taskLoggingContext.
LogError
(
1356
_taskLoggingContext.
LogError
(
1366
_taskLoggingContext.
LogError
(
1487
_taskLoggingContext.
LogError
(
1498
_taskLoggingContext.
LogError
(
1509
_taskLoggingContext.
LogError
(
1520
_taskLoggingContext.
LogError
(
2180
_targetLoggingContext.
LogError
(_taskLocation, "AttributeTypeLoadError", _taskName, e.Message);
Definition\Toolset.cs (2)
866
loggingContext.
LogError
(
962
loggingContext.
LogError
(ElementLocation.Create(currentTasksFile),
Instance\TaskFactories\AssemblyTaskFactory.cs (3)
284
targetLoggingContext.
LogError
(
403
taskLoggingContext.
LogError
(
492
targetLoggingContext.
LogError
(
Instance\TaskFactories\TaskHostTask.cs (4)
628
_taskLoggingContext.
LogError
(
760
_taskLoggingContext.
LogError
(_taskLocation, "TaskHostExitedPrematurely", (nodeShutdown.Exception == null) ? String.Empty : nodeShutdown.Exception.ToString());
939
_taskLoggingContext.
LogError
(_taskLocation, "TaskHostAcquireFailed", _taskType.Type.Name, runtime, architecture, msbuildLocation);
943
_taskLoggingContext.
LogError
(
Instance\TaskRegistry.cs (3)
514
loggingContext.
LogError
(projectUsingTaskInXml.OverrideLocation, "DuplicateOverrideUsingTaskElement", info.TaskName);
1280
targetLoggingContext.
LogError
(
1376
targetLoggingContext.
LogError
(