49 references to BuildEventFileInfo
Microsoft.Build (49)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
903
new
BuildEventFileInfo
(Construction.ElementLocation.EmptyLocation));
BackEnd\Components\RequestBuilder\TaskBuilder.cs (5)
815
new
BuildEventFileInfo
(_targetChildInstance.Location),
923
new
BuildEventFileInfo
(_targetChildInstance.Location),
933
new
BuildEventFileInfo
(_targetChildInstance.Location),
962
new
BuildEventFileInfo
(_targetChildInstance.Location),
970
taskLoggingContext.LogError(new
BuildEventFileInfo
(_targetChildInstance.Location),
BackEnd\Components\SdkResolution\CachingSdkResolverService.cs (1)
79
loggingContext.LogWarning(null, new
BuildEventFileInfo
(sdkReferenceLocation), "ReferencingMultipleVersionsOfTheSameSdk", sdk.Name, result.Version, result.ElementLocation, sdk.Version);
BackEnd\Components\SdkResolution\MainNodeSdkResolverService.cs (1)
87
loggingService.LogFatalBuildError(loggingContext.BuildEventContext, e, new
BuildEventFileInfo
(request.ElementLocation));
BackEnd\Components\SdkResolution\OutOfProcNodeSdkResolverService.cs (1)
88
loggingContext.LogWarning(null, new
BuildEventFileInfo
(sdkReferenceLocation), "ReferencingMultipleVersionsOfTheSameSdk", sdk.Name, sdkResult.Version, sdkResult.ElementLocation, sdk.Version);
BackEnd\Components\SdkResolution\SdkResolverLoader.cs (7)
131
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(location), "SdkResolverNoDllOrManifest", subfolder.FullName);
194
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(location), "SdkResolverDllInManifestMissing", pathToManifest, string.Empty);
200
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(location), e, "SdkResolverManifestInvalid", pathToManifest, e.Message);
205
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(location), "SdkResolverDllInManifestMissing", pathToManifest, manifest.Path);
279
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(location), e, "CouldNotLoadSdkResolverAssembly", resolverPath, e.Message);
296
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(location), e.InnerException ?? e, "CouldNotLoadSdkResolver", type.Name, message);
300
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(location), e, "CouldNotLoadSdkResolver", type.Name, e.Message);
BackEnd\Components\SdkResolution\SdkResolverService.cs (3)
252
loggingContext.LogError(new
BuildEventFileInfo
(sdkReferenceLocation), "FailedToResolveSDK", sdk.Name, string.Join($"{Environment.NewLine} ", errors));
363
loggingContext.LogWarning(null, new
BuildEventFileInfo
(sdkReferenceLocation), "SdkResultVersionDifferentThanReference", sdk.Name, sdk.Version, result.Version);
434
loggingContext.LogWarningFromText(null, null, null, new
BuildEventFileInfo
(location), warning);
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (17)
377
_taskLoggingContext.LogError(new
BuildEventFileInfo
(_taskLocation), "TaskParametersError", _taskName, e.Message);
484
new
BuildEventFileInfo
(parameterLocation),
501
new
BuildEventFileInfo
(parameterLocation),
660
_taskLoggingContext.LogFatalTaskError(e, new
BuildEventFileInfo
(_taskLocation), ((ProjectTaskInstance)_taskLoggingContext.Task).Name);
879
new
BuildEventFileInfo
(_taskLocation),
901
new
BuildEventFileInfo
(_taskLocation),
969
new
BuildEventFileInfo
(_taskLocation),
980
new
BuildEventFileInfo
(_taskLocation),
990
new
BuildEventFileInfo
(_taskLocation),
1078
new
BuildEventFileInfo
(parameterLocation),
1089
new
BuildEventFileInfo
(parameterLocation),
1100
new
BuildEventFileInfo
(parameterLocation),
1111
new
BuildEventFileInfo
(parameterLocation),
1350
new
BuildEventFileInfo
(_taskLocation),
1359
new
BuildEventFileInfo
(_taskLocation),
1608
_targetLoggingContext.LogError(new
BuildEventFileInfo
(_taskLocation), "AttributeTypeLoadError", _taskName, e.Message);
1624
_taskLoggingContext.LogWarningFromText(null, warningCode, helpKeyword, new
BuildEventFileInfo
(_taskLocation), message);
BuildEventFileInfo.cs (1)
17
internal static BuildEventFileInfo Empty = new
BuildEventFileInfo
(ElementLocation.EmptyLocation);
Evaluation\Conditionals\Parser.cs (1)
146
LoggingServices.LogWarning(_logBuildEventContext, null, new
BuildEventFileInfo
(_elementLocation), "ConditionMaybeEvaluatedIncorrectly", expression);
Evaluation\Evaluator.cs (3)
2084
_evaluationLoggingContext.LogWarning(null, new
BuildEventFileInfo
(importLocationInProject), "SelfImport", importFileUnescaped);
2101
_evaluationLoggingContext.LogWarning(null, new
BuildEventFileInfo
(importLocationInProject), "ImportIntroducesCircularity", importFileUnescaped, importedBy);
2128
_evaluationLoggingContext.LogWarning(null, new
BuildEventFileInfo
(importLocationInProject), "DuplicateImport", importFileUnescaped, previouslyImportedAt.Location.LocationString, parenthesizedProjectLocation);
Evaluation\Expander.cs (1)
1105
_loggingContext.LogComment(MessageImportance.Low, new
BuildEventFileInfo
(_elementLocation),
Evaluation\PropertiesUseTracker.cs (1)
143
loggingContext.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)
732
loggingContext.LogError(new
BuildEventFileInfo
(projectUsingTaskInXml.OverrideLocation), "DuplicateOverrideUsingTaskElement", taskName);
1482
new
BuildEventFileInfo
(elementLocation),