30 references to LogError
Microsoft.Build (30)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (3)
307_projectLoggingContext.LogError(new BuildEventFileInfo(String.Empty), "FailedToReceiveTaskThreadStatus", BuildParameters.RequestBuilderShutdownTimeout); 825loggingContext.LogError( 840(((LoggingContext)_projectLoggingContext) ?? _nodeLoggingContext).LogError(BuildEventFileInfo.Empty, "UnhandledMSBuildError", ex.ToString());
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
997taskLoggingContext.LogError(new BuildEventFileInfo(_targetChildInstance.Location),
BackEnd\Components\SdkResolution\SdkResolverService.cs (2)
259loggingContext.LogError(new BuildEventFileInfo(sdkReferenceLocation), "SingleResolverFailedToResolveSDK", sdk.Name, resolvers[0].Name, string.Join(Environment.NewLine, errors)); 264loggingContext.LogError(new BuildEventFileInfo(sdkReferenceLocation), "FailedToResolveSDK", sdk.Name, string.Join($"{Environment.NewLine} ", errors));
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (13)
438_taskLoggingContext.LogError(new BuildEventFileInfo(_taskLocation), "TaskParametersError", _taskName, e.Message); 544_targetLoggingContext.LogError( 940_targetLoggingContext.LogError( 950_targetLoggingContext.LogError( 1025_taskLoggingContext.LogError( 1066_taskLoggingContext.LogError( 1077_taskLoggingContext.LogError( 1087_taskLoggingContext.LogError( 1175_taskLoggingContext.LogError( 1186_taskLoggingContext.LogError( 1197_taskLoggingContext.LogError( 1208_taskLoggingContext.LogError( 1746_targetLoggingContext.LogError(new BuildEventFileInfo(_taskLocation), "AttributeTypeLoadError", _taskName, e.Message);
Definition\Toolset.cs (2)
866loggingContext.LogError(new BuildEventFileInfo(/* this warning truly does not involve any file it is just gathering properties */String.Empty), "TasksPropertyBagError", e.Message); 959loggingContext.LogError(new BuildEventFileInfo(currentTasksFile),
Instance\TaskFactories\AssemblyTaskFactory.cs (3)
293targetLoggingContext.LogError(new BuildEventFileInfo(taskProjectFile), "TaskLoadFailure", taskName, loadInfo.AssemblyLocation, exception.Message); 492targetLoggingContext.LogError(new BuildEventFileInfo(taskProjectFile), "TaskLoadFailure", taskName, _loadedType.Assembly.AssemblyLocation, exception.Message); 760_taskLoggingContext.LogError(new BuildEventFileInfo(taskLocation, taskLine, taskColumn), message, messageArgs);
Instance\TaskFactories\TaskHostTask.cs (3)
602_taskLoggingContext.LogError(new BuildEventFileInfo(_taskLocation), "TaskHostExitedPrematurely", (nodeShutdown.Exception == null) ? String.Empty : nodeShutdown.Exception.ToString()); 722_taskLoggingContext.LogError(new BuildEventFileInfo(_taskLocation), "TaskHostAcquireFailed", _taskType.Type.Name, runtime, architecture, msbuildLocation); 726_taskLoggingContext.LogError(
Instance\TaskRegistry.cs (3)
726loggingContext.LogError(new BuildEventFileInfo(projectUsingTaskInXml.OverrideLocation), "DuplicateOverrideUsingTaskElement", taskName); 1490targetLoggingContext.LogError(new BuildEventFileInfo(taskProjectFile), "TaskFactoryLoadFailure", TaskFactoryAttributeName, taskFactoryLoadInfo.AssemblyLocation, exception.Message); 1581targetLoggingContext.LogError(