66 references to BuildEventFileInfo
Microsoft.Build (57)
BackEnd\BuildManager\BuildManager.cs (4)
1862
((IBuildComponentHost)this).LoggingService.LogFatalBuildError(buildEventContext, ex, new
BuildEventFileInfo
(submission.BuildRequestData.ProjectFullPath));
2485
loggingService?.LogError(buildEventContext, new
BuildEventFileInfo
(string.Empty) /* no project file */, "ChildExitedPrematurely", node, ExceptionHandling.DebugDumpPath, exception);
2494
loggingService?.LogError(BuildEventContext.Invalid, new
BuildEventFileInfo
(string.Empty) /* no project file */, "ChildExitedPrematurely", node, ExceptionHandling.DebugDumpPath, shutdownPacket.Exception.ToString());
2640
((IBuildComponentHost)this).LoggingService.LogError(buildEventContext, new
BuildEventFileInfo
(String.Empty), "UnableToCreateNode", response.RequiredNodeType.ToString("G"));
BackEnd\Components\ProjectCache\ProjectCacheService.cs (2)
506
var buildEventFileInfo = new
BuildEventFileInfo
(buildRequest.ProjectFullPath);
746
var buildEventFileInfo = new
BuildEventFileInfo
(requestConfiguration.ProjectFullPath);
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
305
_projectLoggingContext.LogError(new
BuildEventFileInfo
(String.Empty), "FailedToReceiveTaskThreadStatus", BuildParameters.RequestBuilderShutdownTimeout);
BackEnd\Components\RequestBuilder\TargetUpToDateChecker.cs (2)
276
_loggingService.LogError(_buildEventContext, new
BuildEventFileInfo
(String.Empty), "BuildTargetCompletely", _targetToAnalyze.Name);
294
_loggingService.LogError(_buildEventContext, new
BuildEventFileInfo
(String.Empty), "BuildTargetPartially", _targetToAnalyze.Name);
BackEnd\Components\RequestBuilder\TaskHost.cs (1)
1121
_taskLoggingContext.LogWarning(null, new
BuildEventFileInfo
(string.Empty), "ExpectedEventToBeSerializable", e.GetType().Name);
BackEnd\Shared\BuildRequestConfiguration.cs (1)
1057
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(data.ProjectFullPath), "ProjectUpgradeNeededToVcxProj", data.ProjectFullPath);
BuildCheck\Infrastructure\BuildCheckCentralContext.cs (1)
263
new
BuildEventFileInfo
(projectFullPath),
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (2)
225
new
BuildEventFileInfo
(projectPath),
336
new
BuildEventFileInfo
(projectFullPath),
Construction\ProjectRootElement.cs (3)
2026
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(projectFile), "ProjectUpgradeNeededToVcxProj", projectFile);
2038
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(projectFile), ex, "InvalidProjectFile", ex.Message);
2091
: new
BuildEventFileInfo
(fullPath);
Construction\Solution\ProjectInSolution.cs (2)
417
new
BuildEventFileInfo
(ParentSolution.FullPath), "SolutionParseNestedProjectErrorWithNameAndGuid", ProjectName, ProjectGuid, ParentProjectGuid);
459
new
BuildEventFileInfo
(ParentSolution.FullPath), "SolutionParseNestedProjectErrorWithNameAndGuid", ProjectName, ProjectGuid, ParentProjectGuid);
Construction\Solution\SolutionFile.cs (15)
315
new
BuildEventFileInfo
(FullPath),
323
new
BuildEventFileInfo
(FullPath),
562
new
BuildEventFileInfo
(solutionFile),
574
new
BuildEventFileInfo
(solutionFile),
605
new
BuildEventFileInfo
(solutionFile),
619
new
BuildEventFileInfo
(_solutionFile),
638
new
BuildEventFileInfo
(solutionFilterFile),
660
new
BuildEventFileInfo
(solutionFilterFile),
729
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(_solutionFile), "InvalidProjectFile", e.Message);
877
new
BuildEventFileInfo
(FullPath),
898
new
BuildEventFileInfo
(FileUtilities.GetFullPath(project, Path.GetDirectoryName(_solutionFile))),
942
new
BuildEventFileInfo
(FullPath), "SolutionParseNoHeaderError");
1101
new
BuildEventFileInfo
(FullPath), "SolutionParseProjectEofError", proj.ProjectName);
1559
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(FullPath), "ProjectUpgradeNeededToVcxProj", proj.RelativePath);
1781
new
BuildEventFileInfo
(FullPath), "SolutionParseInvalidProjectSolutionConfigurationEntry",
Construction\Solution\SolutionProjectGenerator.cs (7)
287
ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile(dependencyProject != null, "SubCategoryForSolutionParsingErrors", new
BuildEventFileInfo
(solutionFile.FullPath), "SolutionParseProjectDepNotFoundError", project.ProjectGuid, dependencyProjectGuid);
701
new
BuildEventFileInfo
(_solutionFile.FullPath),
1158
new
BuildEventFileInfo
(traversalProject.FullPath),
1228
new
BuildEventFileInfo
(_solutionFile.FullPath),
1314
new
BuildEventFileInfo
(traversalProject.FullPath),
2184
new
BuildEventFileInfo
(project.RelativePath),
2212
new
BuildEventFileInfo
(_solutionFile.FullPath),
Definition\Project.cs (1)
3333
LoggingService.LogError(s_buildEventContext, new
BuildEventFileInfo
(FullPath), "SecurityProjectBuildDisabled");
Definition\Toolset.cs (6)
709
new
BuildEventFileInfo
(/* this warning truly does not involve any file */ String.Empty),
720
new
BuildEventFileInfo
(/* this warning truly does not involve any file */ String.Empty),
968
loggingContext.LogError(new
BuildEventFileInfo
(/* this warning truly does not involve any file it is just gathering properties */String.Empty), "TasksPropertyBagError", e.Message);
1004
loggingContext.LogWarning(null, new
BuildEventFileInfo
(String.Empty /* this warning truly does not involve any file*/), "OverrideTasksFileFailure", rootedPathMessage);
1011
loggingContext.LogWarning(null, new
BuildEventFileInfo
(String.Empty /* this warning truly does not involve any file*/), "OverrideTasksFileFailure", rootedPathMessage);
1054
loggingContext.LogError(new
BuildEventFileInfo
(currentTasksFile),
Evaluation\Evaluator.cs (2)
1113
_evaluationLoggingContext.LogWarning("", new
BuildEventFileInfo
(""), "ChangeWave_InvalidFormat", Traits.Instance.MSBuildDisableFeaturesFromVersion, $"[{String.Join(", ", ChangeWaves.AllWaves.Select(x => x.ToString()))}]");
1116
_evaluationLoggingContext.LogWarning("", new
BuildEventFileInfo
(""), "ChangeWave_OutOfRotation", ChangeWaves.DisabledWave, Traits.Instance.MSBuildDisableFeaturesFromVersion, $"[{String.Join(", ", ChangeWaves.AllWaves.Select(x => x.ToString()))}]");
Evaluation\LazyItemEvaluator.RemoveOperation.cs (1)
29
new
BuildEventFileInfo
(string.Empty),
Graph\GraphBuilder.cs (1)
350
new
BuildEventFileInfo
(Solution.FullPath),
Instance\TaskFactories\AssemblyTaskFactory.cs (2)
294
targetLoggingContext.LogError(new
BuildEventFileInfo
(taskProjectFile), "TaskLoadFailure", taskName, loadInfo.AssemblyLocation, exception.Message);
445
targetLoggingContext.LogError(new
BuildEventFileInfo
(taskProjectFile), "TaskLoadFailure", taskName, _loadedType.Assembly.AssemblyLocation, exception.Message);
Instance\TaskFactoryLoggingHost.cs (1)
348
_loggingContext.LogWarning(null, new
BuildEventFileInfo
(string.Empty), "ExpectedEventToBeSerializable", e.GetType().Name);
Instance\TaskRegistry.cs (1)
1443
targetLoggingContext.LogError(new
BuildEventFileInfo
(taskProjectFile), "TaskFactoryLoadFailure", TaskFactoryAttributeName, taskFactoryLoadInfo.AssemblyLocation, exception.Message);
Utilities\EngineFileUtilities.cs (1)
402
new
BuildEventFileInfo
(buildEventFileInfoFullPath),
Microsoft.Build.Engine.UnitTests (9)
BackEnd\LoggingServicesLogMethod_Tests.cs (9)
106
service.LogError(s_buildEventContext, "SubCategoryForSolutionParsingErrors", new
BuildEventFileInfo
("foo.cs"), null, "MyTask");
119
service.LogError(s_buildEventContext, "SubCategoryForSolutionParsingErrors", new
BuildEventFileInfo
("foo.cs"), string.Empty, "MyTask");
217
service.LogFatalError(null, new Exception("SuperException"), new
BuildEventFileInfo
("foo.cs"), "FatalTaskError", "TaskName");
376
service.LogErrorFromText(null, "SubCategoryForSolutionParsingErrors", "WarningCode", "HelpKeyword", new
BuildEventFileInfo
("foo.cs"), "Message");
402
service.LogErrorFromText(null, "SubCategoryForSolutionParsingErrors", "WarningCode", "HelpKeyword", new
BuildEventFileInfo
("foo.cs"), null);
570
service.LogWarning(s_buildEventContext, "SubCategoryForSolutionParsingErrors", new
BuildEventFileInfo
("foo.cs"), null, "MyTask");
583
service.LogWarning(s_buildEventContext, "SubCategoryForSolutionParsingErrors", new
BuildEventFileInfo
("foo.cs"), string.Empty, "MyTask");
610
service.LogWarningFromText(null, "SubCategoryForSolutionParsingErrors", "WarningCode", "HelpKeyword", new
BuildEventFileInfo
("foo.cs"), "Message");
636
service.LogWarningFromText(null, "SubCategoryForSolutionParsingErrors", "WarningCode", "HelpKeyword", new
BuildEventFileInfo
("foo.cs"), null);