66 references to BuildEventFileInfo
Microsoft.Build (57)
BackEnd\BuildManager\BuildManager.cs (5)
1882
((IBuildComponentHost)this).LoggingService.LogFatalBuildError(buildEventContext, ex, new
BuildEventFileInfo
(submission.BuildRequestData.ProjectFullPath));
2501
loggingService.LogError(buildEventContext, new
BuildEventFileInfo
(String.Empty) /* no project file */, "ChildExitedPrematurely", node, ExceptionHandling.DebugDumpPath, exception);
2508
loggingService.LogError(buildEventContext, new
BuildEventFileInfo
(String.Empty) /* no project file */, "ChildExitedPrematurely", node, ExceptionHandling.DebugDumpPath, exception);
2517
loggingService.LogError(BuildEventContext.Invalid, new
BuildEventFileInfo
(String.Empty) /* no project file */, "ChildExitedPrematurely", node, ExceptionHandling.DebugDumpPath, shutdownPacket.Exception.ToString());
2660
((IBuildComponentHost)this).LoggingService.LogError(buildEventContext, new
BuildEventFileInfo
(String.Empty), "UnableToCreateNode", response.RequiredNodeType.ToString("G"));
BackEnd\Components\ProjectCache\ProjectCacheService.cs (2)
502
var buildEventFileInfo = new
BuildEventFileInfo
(buildRequest.ProjectFullPath);
742
var buildEventFileInfo = new
BuildEventFileInfo
(requestConfiguration.ProjectFullPath);
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
304
_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)
1039
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(data.ProjectFullPath), "ProjectUpgradeNeededToVcxProj", data.ProjectFullPath);
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (1)
299
new
BuildEventFileInfo
(projectFullPath),
Construction\ProjectRootElement.cs (3)
2044
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(projectFile), "ProjectUpgradeNeededToVcxProj", projectFile);
2056
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(projectFile), ex, "InvalidProjectFile", ex.Message);
2109
: new
BuildEventFileInfo
(fullPath);
Construction\Solution\ProjectInSolution.cs (2)
412
new
BuildEventFileInfo
(ParentSolution.FullPath), "SolutionParseNestedProjectErrorWithNameAndGuid", ProjectName, ProjectGuid, ParentProjectGuid);
451
new
BuildEventFileInfo
(ParentSolution.FullPath), "SolutionParseNestedProjectErrorWithNameAndGuid", ProjectName, ProjectGuid, ParentProjectGuid);
Construction\Solution\SolutionFile.cs (13)
323
new
BuildEventFileInfo
(solutionFile),
335
new
BuildEventFileInfo
(solutionFile),
366
new
BuildEventFileInfo
(solutionFile),
380
new
BuildEventFileInfo
(_solutionFile),
399
new
BuildEventFileInfo
(solutionFilterFile),
421
new
BuildEventFileInfo
(solutionFilterFile),
485
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(_solutionFile), "InvalidProjectFile", e.Message);
557
new
BuildEventFileInfo
(FileUtilities.GetFullPath(project, Path.GetDirectoryName(_solutionFile))),
644
new
BuildEventFileInfo
(FullPath),
685
new
BuildEventFileInfo
(FullPath), "SolutionParseNoHeaderError");
844
new
BuildEventFileInfo
(FullPath), "SolutionParseProjectEofError", proj.ProjectName);
1297
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(FullPath), "ProjectUpgradeNeededToVcxProj", proj.RelativePath);
1519
new
BuildEventFileInfo
(FullPath), "SolutionParseInvalidProjectSolutionConfigurationEntry",
Construction\Solution\SolutionProjectGenerator.cs (10)
287
ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile(dependencyProject != null, "SubCategoryForSolutionParsingErrors", new
BuildEventFileInfo
(solutionFile.FullPath), "SolutionParseProjectDepNotFoundError", project.ProjectGuid, dependencyProjectGuid);
698
new
BuildEventFileInfo
(_solutionFile.FullPath),
1154
new
BuildEventFileInfo
(traversalProject.FullPath),
1310
new
BuildEventFileInfo
(traversalProject.FullPath),
1539
new
BuildEventFileInfo
(_solutionFile.FullPath),
1566
new
BuildEventFileInfo
(_solutionFile.FullPath),
1587
new
BuildEventFileInfo
(_solutionFile.FullPath),
1716
new
BuildEventFileInfo
(solutionFile),
2180
new
BuildEventFileInfo
(project.RelativePath),
2208
new
BuildEventFileInfo
(_solutionFile.FullPath),
Definition\Project.cs (1)
3334
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),
721
new
BuildEventFileInfo
(/* this warning truly does not involve any file */ String.Empty),
972
loggingServices.LogError(buildEventContext, new
BuildEventFileInfo
(/* this warning truly does not involve any file it is just gathering properties */String.Empty), "TasksPropertyBagError", e.Message);
1008
loggingServices.LogWarning(buildEventContext, null, new
BuildEventFileInfo
(String.Empty /* this warning truly does not involve any file*/), "OverrideTasksFileFailure", rootedPathMessage);
1015
loggingServices.LogWarning(buildEventContext, null, new
BuildEventFileInfo
(String.Empty /* this warning truly does not involve any file*/), "OverrideTasksFileFailure", rootedPathMessage);
1059
loggingServices.LogError(buildEventContext, new
BuildEventFileInfo
(currentTasksFile),
Evaluation\Evaluator.cs (2)
1111
_evaluationLoggingContext.LogWarning("", new
BuildEventFileInfo
(""), "ChangeWave_InvalidFormat", Traits.Instance.MSBuildDisableFeaturesFromVersion, $"[{String.Join(", ", ChangeWaves.AllWaves.Select(x => x.ToString()))}]");
1114
_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)
1447
targetLoggingContext.LogError(new
BuildEventFileInfo
(taskProjectFile), "TaskFactoryLoadFailure", TaskFactoryAttributeName, taskFactoryLoadInfo.AssemblyLocation, exception.Message);
Utilities\EngineFileUtilities.cs (1)
400
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);
568
service.LogWarning(s_buildEventContext, "SubCategoryForSolutionParsingErrors", new
BuildEventFileInfo
("foo.cs"), null, "MyTask");
581
service.LogWarning(s_buildEventContext, "SubCategoryForSolutionParsingErrors", new
BuildEventFileInfo
("foo.cs"), string.Empty, "MyTask");
608
service.LogWarningFromText(null, "SubCategoryForSolutionParsingErrors", "WarningCode", "HelpKeyword", new
BuildEventFileInfo
("foo.cs"), "Message");
634
service.LogWarningFromText(null, "SubCategoryForSolutionParsingErrors", "WarningCode", "HelpKeyword", new
BuildEventFileInfo
("foo.cs"), null);