32 references to LogError
Microsoft.Build (32)
BackEnd\BuildManager\MultiThreadedStrictModeScope.cs (1)
189
taskLoggingContext.
LogError
(taskLocation,
BackEnd\Components\RequestBuilder\RequestBuilder.cs (3)
309
_projectLoggingContext.
LogError
(
837
loggingContext.
LogError
(
852
(((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)
593
_taskLoggingContext.
LogError
(_taskLocation, "TaskParametersError", _taskName, e.Message);
702
_targetLoggingContext.
LogError
(
1219
_targetLoggingContext.
LogError
(
1229
_targetLoggingContext.
LogError
(
1300
_taskLoggingContext.
LogError
(
1347
_taskLoggingContext.
LogError
(
1358
_taskLoggingContext.
LogError
(
1368
_taskLoggingContext.
LogError
(
1489
_taskLoggingContext.
LogError
(
1500
_taskLoggingContext.
LogError
(
1511
_taskLoggingContext.
LogError
(
1522
_taskLoggingContext.
LogError
(
2182
_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)
604
_taskLoggingContext.
LogError
(
736
_taskLoggingContext.
LogError
(_taskLocation, "TaskHostExitedPrematurely", (nodeShutdown.Exception == null) ? String.Empty : nodeShutdown.Exception.ToString());
915
_taskLoggingContext.
LogError
(_taskLocation, "TaskHostAcquireFailed", _taskType.Type.Name, runtime, architecture, msbuildLocation);
919
_taskLoggingContext.
LogError
(
Instance\TaskRegistry.cs (3)
515
loggingContext.
LogError
(projectUsingTaskInXml.OverrideLocation, "DuplicateOverrideUsingTaskElement", info.TaskName);
1281
targetLoggingContext.
LogError
(
1377
targetLoggingContext.
LogError
(