30 references to LogError
Microsoft.Build (30)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (3)
306
_projectLoggingContext.
LogError
(new BuildEventFileInfo(String.Empty), "FailedToReceiveTaskThreadStatus", BuildParameters.RequestBuilderShutdownTimeout);
824
loggingContext.
LogError
(
839
(((LoggingContext)_projectLoggingContext) ?? _nodeLoggingContext).
LogError
(BuildEventFileInfo.Empty, "UnhandledMSBuildError", ex.ToString());
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
977
taskLoggingContext.
LogError
(new BuildEventFileInfo(_targetChildInstance.Location),
BackEnd\Components\SdkResolution\SdkResolverService.cs (2)
259
loggingContext.
LogError
(new BuildEventFileInfo(sdkReferenceLocation), "SingleResolverFailedToResolveSDK", sdk.Name, resolvers[0].Name, string.Join(Environment.NewLine, errors));
264
loggingContext.
LogError
(new BuildEventFileInfo(sdkReferenceLocation), "FailedToResolveSDK", sdk.Name, string.Join($"{Environment.NewLine} ", errors));
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (13)
407
_taskLoggingContext.
LogError
(new BuildEventFileInfo(_taskLocation), "TaskParametersError", _taskName, e.Message);
513
_targetLoggingContext.
LogError
(
908
_targetLoggingContext.
LogError
(
930
_targetLoggingContext.
LogError
(
998
_taskLoggingContext.
LogError
(
1030
_taskLoggingContext.
LogError
(
1041
_taskLoggingContext.
LogError
(
1051
_taskLoggingContext.
LogError
(
1139
_taskLoggingContext.
LogError
(
1150
_taskLoggingContext.
LogError
(
1161
_taskLoggingContext.
LogError
(
1172
_taskLoggingContext.
LogError
(
1710
_targetLoggingContext.
LogError
(new BuildEventFileInfo(_taskLocation), "AttributeTypeLoadError", _taskName, e.Message);
Definition\Toolset.cs (2)
866
loggingContext.
LogError
(new BuildEventFileInfo(/* this warning truly does not involve any file it is just gathering properties */String.Empty), "TasksPropertyBagError", e.Message);
959
loggingContext.
LogError
(new BuildEventFileInfo(currentTasksFile),
Instance\TaskFactories\AssemblyTaskFactory.cs (3)
312
targetLoggingContext.
LogError
(new BuildEventFileInfo(taskProjectFile), "TaskLoadFailure", taskName, loadInfo.AssemblyLocation, exception.Message);
482
targetLoggingContext.
LogError
(new BuildEventFileInfo(taskProjectFile), "TaskLoadFailure", taskName, _loadedType.Assembly.AssemblyLocation, exception.Message);
742
_taskLoggingContext.
LogError
(new BuildEventFileInfo(taskLocation, taskLine, taskColumn), message, messageArgs);
Instance\TaskFactories\TaskHostTask.cs (3)
587
_taskLoggingContext.
LogError
(new BuildEventFileInfo(_taskLocation), "TaskHostExitedPrematurely", (nodeShutdown.Exception == null) ? String.Empty : nodeShutdown.Exception.ToString());
660
_taskLoggingContext.
LogError
(new BuildEventFileInfo(_taskLocation), "TaskHostAcquireFailed", _taskType.Type.Name, runtime, architecture, msbuildLocation);
664
_taskLoggingContext.
LogError
(new BuildEventFileInfo(_taskLocation), "TaskHostNodeFailedToLaunch", _taskType.Type.Name, runtime, architecture, msbuildLocation, e.ErrorCode, e.Message);
Instance\TaskRegistry.cs (3)
736
loggingContext.
LogError
(new BuildEventFileInfo(projectUsingTaskInXml.OverrideLocation), "DuplicateOverrideUsingTaskElement", taskName);
1565
targetLoggingContext.
LogError
(new BuildEventFileInfo(taskProjectFile), "TaskFactoryLoadFailure", TaskFactoryAttributeName, taskFactoryLoadInfo.AssemblyLocation, exception.Message);
1645
targetLoggingContext.
LogError
(