50 references to BuildEventFileInfo
Microsoft.Build (50)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
900
new
BuildEventFileInfo
(Construction.ElementLocation.EmptyLocation));
BackEnd\Components\RequestBuilder\TaskBuilder.cs (5)
817
new
BuildEventFileInfo
(_targetChildInstance.Location),
925
new
BuildEventFileInfo
(_targetChildInstance.Location),
935
new
BuildEventFileInfo
(_targetChildInstance.Location),
964
new
BuildEventFileInfo
(_targetChildInstance.Location),
972
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)
142
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(location), "SdkResolverNoDllOrManifest", subfolder.FullName);
205
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(location), "SdkResolverDllInManifestMissing", pathToManifest, string.Empty);
211
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(location), e, "SdkResolverManifestInvalid", pathToManifest, e.Message);
216
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(location), "SdkResolverDllInManifestMissing", pathToManifest, manifest.Path);
276
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(location), e, "CouldNotLoadSdkResolverAssembly", resolverPath, e.Message);
293
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(location), e.InnerException ?? e, "CouldNotLoadSdkResolver", type.Name, message);
297
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(location), e, "CouldNotLoadSdkResolver", type.Name, e.Message);
BackEnd\Components\SdkResolution\SdkResolverService.cs (4)
181
loggingContext.LogError(new
BuildEventFileInfo
(sdkReferenceLocation), "FailedToResolveSDK", sdk.Name, string.Join($"{Environment.NewLine} ", errors));
279
loggingContext.LogError(new
BuildEventFileInfo
(sdkReferenceLocation), "FailedToResolveSDK", sdk.Name, string.Join($"{Environment.NewLine} ", errors));
408
loggingContext.LogWarning(null, new
BuildEventFileInfo
(sdkReferenceLocation), "SdkResultVersionDifferentThanReference", sdk.Name, sdk.Version, result.Version);
484
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),
1346
new
BuildEventFileInfo
(_taskLocation),
1355
new
BuildEventFileInfo
(_taskLocation),
1568
_targetLoggingContext.LogError(new
BuildEventFileInfo
(_taskLocation), "AttributeTypeLoadError", _taskName, e.Message);
1584
_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 (4)
1311
_evaluationLoggingContext.LogWarning(null, new
BuildEventFileInfo
(propertyElement.Location), "UsedUninitializedProperty", propertyElement.Name, elementWhichUsedProperty.LocationString);
2149
_evaluationLoggingContext.LogWarning(null, new
BuildEventFileInfo
(importLocationInProject), "SelfImport", importFileUnescaped);
2166
_evaluationLoggingContext.LogWarning(null, new
BuildEventFileInfo
(importLocationInProject), "ImportIntroducesCircularity", importFileUnescaped, importedBy);
2193
_evaluationLoggingContext.LogWarning(null, new
BuildEventFileInfo
(importLocationInProject), "DuplicateImport", importFileUnescaped, previouslyImportedAt.Location.LocationString, parenthesizedProjectLocation);
Evaluation\Expander.cs (1)
1076
_loggingContext.LogComment(MessageImportance.Low, new
BuildEventFileInfo
(_elementLocation),
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)
736
loggingService.LogError(context, null, new
BuildEventFileInfo
(projectUsingTaskInXml.OverrideLocation), "DuplicateOverrideUsingTaskElement", taskName);
1486
new
BuildEventFileInfo
(elementLocation),