28 references to LogError
Microsoft.Build (28)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (3)
305
_projectLoggingContext.
LogError
(new BuildEventFileInfo(String.Empty), "FailedToReceiveTaskThreadStatus", BuildParameters.RequestBuilderShutdownTimeout);
823
loggingContext.
LogError
(
838
(((LoggingContext)_projectLoggingContext) ?? _nodeLoggingContext).
LogError
(BuildEventFileInfo.Empty, "UnhandledMSBuildError", ex.ToString());
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
970
taskLoggingContext.
LogError
(new BuildEventFileInfo(_targetChildInstance.Location),
BackEnd\Components\SdkResolution\SdkResolverService.cs (1)
252
loggingContext.
LogError
(new BuildEventFileInfo(sdkReferenceLocation), "FailedToResolveSDK", sdk.Name, string.Join($"{Environment.NewLine} ", errors));
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (12)
377
_taskLoggingContext.
LogError
(new BuildEventFileInfo(_taskLocation), "TaskParametersError", _taskName, e.Message);
483
_targetLoggingContext.
LogError
(
878
_targetLoggingContext.
LogError
(
900
_targetLoggingContext.
LogError
(
968
_taskLoggingContext.
LogError
(
979
_taskLoggingContext.
LogError
(
989
_taskLoggingContext.
LogError
(
1077
_taskLoggingContext.
LogError
(
1088
_taskLoggingContext.
LogError
(
1099
_taskLoggingContext.
LogError
(
1110
_taskLoggingContext.
LogError
(
1608
_targetLoggingContext.
LogError
(new BuildEventFileInfo(_taskLocation), "AttributeTypeLoadError", _taskName, e.Message);
Definition\Toolset.cs (2)
968
loggingContext.
LogError
(new BuildEventFileInfo(/* this warning truly does not involve any file it is just gathering properties */String.Empty), "TasksPropertyBagError", e.Message);
1054
loggingContext.
LogError
(new BuildEventFileInfo(currentTasksFile),
Instance\TaskFactories\AssemblyTaskFactory.cs (3)
294
targetLoggingContext.
LogError
(new BuildEventFileInfo(taskProjectFile), "TaskLoadFailure", taskName, loadInfo.AssemblyLocation, exception.Message);
445
targetLoggingContext.
LogError
(new BuildEventFileInfo(taskProjectFile), "TaskLoadFailure", taskName, _loadedType.Assembly.AssemblyLocation, exception.Message);
652
_taskLoggingContext.
LogError
(new BuildEventFileInfo(taskLocation, taskLine, taskColumn), message, messageArgs);
Instance\TaskFactories\TaskHostTask.cs (3)
515
_taskLoggingContext.
LogError
(new BuildEventFileInfo(_taskLocation), "TaskHostExitedPrematurely", (nodeShutdown.Exception == null) ? String.Empty : nodeShutdown.Exception.ToString());
579
_taskLoggingContext.
LogError
(new BuildEventFileInfo(_taskLocation), "TaskHostAcquireFailed", _taskType.Type.Name, runtime, architecture, msbuildLocation);
583
_taskLoggingContext.
LogError
(new BuildEventFileInfo(_taskLocation), "TaskHostNodeFailedToLaunch", _taskType.Type.Name, runtime, architecture, msbuildLocation, e.ErrorCode, e.Message);
Instance\TaskRegistry.cs (3)
732
loggingContext.
LogError
(new BuildEventFileInfo(projectUsingTaskInXml.OverrideLocation), "DuplicateOverrideUsingTaskElement", taskName);
1443
targetLoggingContext.
LogError
(new BuildEventFileInfo(taskProjectFile), "TaskFactoryLoadFailure", TaskFactoryAttributeName, taskFactoryLoadInfo.AssemblyLocation, exception.Message);
1519
targetLoggingContext.
LogError
(