50 references to BuildEventFileInfo
Microsoft.Build (50)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
907new BuildEventFileInfo(Construction.ElementLocation.EmptyLocation));
BackEnd\Components\RequestBuilder\TaskBuilder.cs (5)
819new BuildEventFileInfo(_targetChildInstance.Location), 927new BuildEventFileInfo(_targetChildInstance.Location), 937new BuildEventFileInfo(_targetChildInstance.Location), 966new BuildEventFileInfo(_targetChildInstance.Location), 974taskLoggingContext.LogError(new BuildEventFileInfo(_targetChildInstance.Location),
BackEnd\Components\SdkResolution\CachingSdkResolverService.cs (1)
79loggingContext.LogWarning(null, new BuildEventFileInfo(sdkReferenceLocation), "ReferencingMultipleVersionsOfTheSameSdk", sdk.Name, result.Version, result.ElementLocation, sdk.Version);
BackEnd\Components\SdkResolution\MainNodeSdkResolverService.cs (1)
87loggingService.LogFatalBuildError(loggingContext.BuildEventContext, e, new BuildEventFileInfo(request.ElementLocation));
BackEnd\Components\SdkResolution\OutOfProcNodeSdkResolverService.cs (1)
88loggingContext.LogWarning(null, new BuildEventFileInfo(sdkReferenceLocation), "ReferencingMultipleVersionsOfTheSameSdk", sdk.Name, sdkResult.Version, sdkResult.ElementLocation, sdk.Version);
BackEnd\Components\SdkResolution\SdkResolverLoader.cs (7)
131ProjectFileErrorUtilities.ThrowInvalidProjectFile(new BuildEventFileInfo(location), "SdkResolverNoDllOrManifest", subfolder.FullName); 194ProjectFileErrorUtilities.ThrowInvalidProjectFile(new BuildEventFileInfo(location), "SdkResolverDllInManifestMissing", pathToManifest, string.Empty); 200ProjectFileErrorUtilities.ThrowInvalidProjectFile(new BuildEventFileInfo(location), e, "SdkResolverManifestInvalid", pathToManifest, e.Message); 205ProjectFileErrorUtilities.ThrowInvalidProjectFile(new BuildEventFileInfo(location), "SdkResolverDllInManifestMissing", pathToManifest, manifest.Path); 279ProjectFileErrorUtilities.ThrowInvalidProjectFile(new BuildEventFileInfo(location), e, "CouldNotLoadSdkResolverAssembly", resolverPath, e.Message); 296ProjectFileErrorUtilities.ThrowInvalidProjectFile(new BuildEventFileInfo(location), e.InnerException ?? e, "CouldNotLoadSdkResolver", type.Name, message); 300ProjectFileErrorUtilities.ThrowInvalidProjectFile(new BuildEventFileInfo(location), e, "CouldNotLoadSdkResolver", type.Name, e.Message);
BackEnd\Components\SdkResolution\SdkResolverService.cs (3)
253loggingContext.LogError(new BuildEventFileInfo(sdkReferenceLocation), "FailedToResolveSDK", sdk.Name, string.Join($"{Environment.NewLine} ", errors)); 364loggingContext.LogWarning(null, new BuildEventFileInfo(sdkReferenceLocation), "SdkResultVersionDifferentThanReference", sdk.Name, sdk.Version, result.Version); 443loggingContext.LogWarningFromText(null, null, null, new BuildEventFileInfo(location), warning);
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (17)
381_taskLoggingContext.LogError(new BuildEventFileInfo(_taskLocation), "TaskParametersError", _taskName, e.Message); 488new BuildEventFileInfo(parameterLocation), 505new BuildEventFileInfo(parameterLocation), 664_taskLoggingContext.LogFatalTaskError(e, new BuildEventFileInfo(_taskLocation), ((ProjectTaskInstance)_taskLoggingContext.Task).Name); 883new BuildEventFileInfo(_taskLocation), 905new BuildEventFileInfo(_taskLocation), 973new BuildEventFileInfo(_taskLocation), 984new BuildEventFileInfo(_taskLocation), 994new BuildEventFileInfo(_taskLocation), 1082new BuildEventFileInfo(parameterLocation), 1093new BuildEventFileInfo(parameterLocation), 1104new BuildEventFileInfo(parameterLocation), 1115new BuildEventFileInfo(parameterLocation), 1357new BuildEventFileInfo(_taskLocation), 1366new BuildEventFileInfo(_taskLocation), 1623_targetLoggingContext.LogError(new BuildEventFileInfo(_taskLocation), "AttributeTypeLoadError", _taskName, e.Message); 1639_taskLoggingContext.LogWarningFromText(null, warningCode, helpKeyword, new BuildEventFileInfo(_taskLocation), message);
BuildEventFileInfo.cs (1)
17internal static BuildEventFileInfo Empty = new BuildEventFileInfo(ElementLocation.EmptyLocation);
Construction\Solution\SolutionFile.cs (1)
323new BuildEventFileInfo(errorLocation),
Evaluation\Conditionals\Parser.cs (1)
146LoggingServices.LogWarning(_logBuildEventContext, null, new BuildEventFileInfo(_elementLocation), "ConditionMaybeEvaluatedIncorrectly", expression);
Evaluation\Evaluator.cs (3)
2098_evaluationLoggingContext.LogWarning(null, new BuildEventFileInfo(importLocationInProject), "SelfImport", importFileUnescaped); 2115_evaluationLoggingContext.LogWarning(null, new BuildEventFileInfo(importLocationInProject), "ImportIntroducesCircularity", importFileUnescaped, importedBy); 2142_evaluationLoggingContext.LogWarning(null, new BuildEventFileInfo(importLocationInProject), "DuplicateImport", importFileUnescaped, previouslyImportedAt.Location.LocationString, parenthesizedProjectLocation);
Evaluation\Expander.cs (1)
1107_loggingContext.LogComment(MessageImportance.Low, new BuildEventFileInfo(_elementLocation),
Evaluation\PropertiesUseTracker.cs (1)
143loggingContext.LogWarning(null, new BuildEventFileInfo(propertyElement.Location), "UsedUninitializedProperty", propertyElement.Name, elementWhichUsedProperty?.LocationString);
Instance\TaskFactories\TaskHostTask.cs (4)
491_taskLoggingContext.LogFatalError(taskHostTaskComplete.TaskException, new BuildEventFileInfo(_taskLocation), taskHostTaskComplete.TaskExceptionMessage, taskHostTaskComplete.TaskExceptionMessageArgs); 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 (2)
742loggingContext.LogError(new BuildEventFileInfo(projectUsingTaskInXml.OverrideLocation), "DuplicateOverrideUsingTaskElement", taskName); 1568new BuildEventFileInfo(elementLocation),