53 references to BuildEventFileInfo
Microsoft.Build (53)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (6)
173
new
BuildEventFileInfo
(taskInstance.Location),
850
new
BuildEventFileInfo
(_targetChildInstance.Location),
958
new
BuildEventFileInfo
(_targetChildInstance.Location),
968
new
BuildEventFileInfo
(_targetChildInstance.Location),
997
new
BuildEventFileInfo
(_targetChildInstance.Location),
1005
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)
93
loggingContext.LogWarning(null, new
BuildEventFileInfo
(sdkReferenceLocation), "ReferencingMultipleVersionsOfTheSameSdk", sdk.Name, sdkResult.Version, sdkResult.ElementLocation, sdk.Version);
BackEnd\Components\SdkResolution\SdkResolverLoader.cs (7)
144
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(location), "SdkResolverNoDllOrManifest", subfolder.FullName);
207
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(location), "SdkResolverDllInManifestMissing", pathToManifest, string.Empty);
213
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(location), e, "SdkResolverManifestInvalid", pathToManifest, e.Message);
218
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(location), "SdkResolverDllInManifestMissing", pathToManifest, manifest.Path);
321
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(location), e, "CouldNotLoadSdkResolverAssembly", resolverPath, e.Message);
338
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(location), e.InnerException ?? e, "CouldNotLoadSdkResolver", type.Name, message);
342
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(location), e, "CouldNotLoadSdkResolver", type.Name, e.Message);
BackEnd\Components\SdkResolution\SdkResolverService.cs (5)
259
loggingContext.LogError(new
BuildEventFileInfo
(sdkReferenceLocation), "SingleResolverFailedToResolveSDK", sdk.Name, resolvers[0].Name, string.Join(Environment.NewLine, errors));
264
loggingContext.LogError(new
BuildEventFileInfo
(sdkReferenceLocation), "FailedToResolveSDK", sdk.Name, string.Join($"{Environment.NewLine} ", errors));
298
new
BuildEventFileInfo
(sdkReferenceLocation),
391
loggingContext.LogWarning(null, new
BuildEventFileInfo
(sdkReferenceLocation), "SdkResultVersionDifferentThanReference", sdk.Name, sdk.Version, result.Version);
470
loggingContext.LogWarningFromText(null, null, null, new
BuildEventFileInfo
(location), warning);
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (18)
594
_taskLoggingContext.LogError(new
BuildEventFileInfo
(_taskLocation), "TaskParametersError", _taskName, e.Message);
701
new
BuildEventFileInfo
(parameterLocation),
718
new
BuildEventFileInfo
(parameterLocation),
881
_taskLoggingContext.LogFatalTaskError(e, new
BuildEventFileInfo
(_taskLocation), ((ProjectTaskInstance)_taskLoggingContext.Task).Name);
1218
new
BuildEventFileInfo
(_taskLocation),
1228
new
BuildEventFileInfo
(_taskLocation),
1302
new
BuildEventFileInfo
(_taskLocation),
1343
new
BuildEventFileInfo
(_taskLocation),
1354
new
BuildEventFileInfo
(_taskLocation),
1364
new
BuildEventFileInfo
(_taskLocation),
1450
new
BuildEventFileInfo
(parameterLocation),
1461
new
BuildEventFileInfo
(parameterLocation),
1472
new
BuildEventFileInfo
(parameterLocation),
1483
new
BuildEventFileInfo
(parameterLocation),
1774
new
BuildEventFileInfo
(_taskLocation),
1783
new
BuildEventFileInfo
(_taskLocation),
2068
_targetLoggingContext.LogError(new
BuildEventFileInfo
(_taskLocation), "AttributeTypeLoadError", _taskName, e.Message);
2084
_taskLoggingContext.LogWarningFromText(null, warningCode, helpKeyword, new
BuildEventFileInfo
(_taskLocation), message);
Construction\Solution\SolutionFile.cs (1)
330
new
BuildEventFileInfo
(errorLocation),
Evaluation\Conditionals\Parser.cs (1)
145
LoggingServices.LogWarning(_logBuildEventContext, null, new
BuildEventFileInfo
(_elementLocation), "ConditionMaybeEvaluatedIncorrectly", expression);
Evaluation\Evaluator.cs (3)
2184
_evaluationLoggingContext.LogWarning(null, new
BuildEventFileInfo
(importLocationInProject), "SelfImport", importFileUnescaped);
2201
_evaluationLoggingContext.LogWarning(null, new
BuildEventFileInfo
(importLocationInProject), "ImportIntroducesCircularity", importFileUnescaped, importedBy);
2228
_evaluationLoggingContext.LogWarning(null, new
BuildEventFileInfo
(importLocationInProject), "DuplicateImport", importFileUnescaped, previouslyImportedAt.Location.LocationString, parenthesizedProjectLocation);
Evaluation\Expander.MetadataExpander.cs (1)
240
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)
641
_taskLoggingContext.LogFatalError(taskHostTaskComplete.TaskException, new
BuildEventFileInfo
(_taskLocation), taskHostTaskComplete.TaskExceptionMessage, taskHostTaskComplete.TaskExceptionMessageArgs);
665
_taskLoggingContext.LogError(new
BuildEventFileInfo
(_taskLocation), "TaskHostExitedPrematurely", (nodeShutdown.Exception == null) ? String.Empty : nodeShutdown.Exception.ToString());
845
_taskLoggingContext.LogError(new
BuildEventFileInfo
(_taskLocation), "TaskHostAcquireFailed", _taskType.Type.Name, runtime, architecture, msbuildLocation);
850
new
BuildEventFileInfo
(_taskLocation),
Instance\TaskRegistry.cs (2)
719
loggingContext.LogError(new
BuildEventFileInfo
(projectUsingTaskInXml.OverrideLocation), "DuplicateOverrideUsingTaskElement", taskName);
1534
new
BuildEventFileInfo
(elementLocation),
src\msbuild\src\Shared\BuildEventFileInfo.cs (1)
17
internal static BuildEventFileInfo Empty = new
BuildEventFileInfo
(ElementLocation.EmptyLocation);