32 references to LogError
Microsoft.Build (32)
BackEnd\BuildManager\MultiThreadedStrictModeScope.cs (1)
188taskLoggingContext.LogError(new BuildEventFileInfo(taskLocation),
BackEnd\Components\RequestBuilder\RequestBuilder.cs (3)
309_projectLoggingContext.LogError(new BuildEventFileInfo(String.Empty), "FailedToReceiveTaskThreadStatus", BuildParameters.RequestBuilderShutdownTimeout); 834loggingContext.LogError( 849(((LoggingContext)_projectLoggingContext) ?? _nodeLoggingContext).LogError(BuildEventFileInfo.Empty, "UnhandledMSBuildError", ex.ToString());
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
1035taskLoggingContext.LogError(new BuildEventFileInfo(_targetChildInstance.Location),
BackEnd\Components\SdkResolution\SdkResolverService.cs (2)
254loggingContext.LogError(new BuildEventFileInfo(sdkReferenceLocation), "SingleResolverFailedToResolveSDK", sdk.Name, resolvers[0].Name, string.Join(Environment.NewLine, errors)); 259loggingContext.LogError(new BuildEventFileInfo(sdkReferenceLocation), "FailedToResolveSDK", sdk.Name, string.Join($"{Environment.NewLine} ", errors));
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (13)
592_taskLoggingContext.LogError(new BuildEventFileInfo(_taskLocation), "TaskParametersError", _taskName, e.Message); 701_targetLoggingContext.LogError( 1218_targetLoggingContext.LogError( 1228_targetLoggingContext.LogError( 1302_taskLoggingContext.LogError( 1343_taskLoggingContext.LogError( 1354_taskLoggingContext.LogError( 1364_taskLoggingContext.LogError( 1485_taskLoggingContext.LogError( 1496_taskLoggingContext.LogError( 1507_taskLoggingContext.LogError( 1518_taskLoggingContext.LogError( 2178_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)
284targetLoggingContext.LogError(new BuildEventFileInfo(taskProjectFile), "TaskLoadFailure", taskName, loadInfo.AssemblyLocation, exception.Message); 398taskLoggingContext.LogError(new BuildEventFileInfo(taskLoc, taskLine, taskColumn), message, messageArgs)), 484targetLoggingContext.LogError(new BuildEventFileInfo(taskProjectFile), "TaskLoadFailure", taskName, _loadedType.Assembly.AssemblyLocation, exception.Message);
Instance\TaskFactories\TaskHostTask.cs (4)
604_taskLoggingContext.LogError( 736_taskLoggingContext.LogError(new BuildEventFileInfo(_taskLocation), "TaskHostExitedPrematurely", (nodeShutdown.Exception == null) ? String.Empty : nodeShutdown.Exception.ToString()); 915_taskLoggingContext.LogError(new BuildEventFileInfo(_taskLocation), "TaskHostAcquireFailed", _taskType.Type.Name, runtime, architecture, msbuildLocation); 919_taskLoggingContext.LogError(
Instance\TaskRegistry.cs (3)
719loggingContext.LogError(new BuildEventFileInfo(projectUsingTaskInXml.OverrideLocation), "DuplicateOverrideUsingTaskElement", taskName); 1480targetLoggingContext.LogError(new BuildEventFileInfo(taskProjectFile), "TaskFactoryLoadFailure", TaskFactoryAttributeName, taskFactoryLoadInfo.AssemblyLocation, exception.Message); 1571targetLoggingContext.LogError(