24 writes to ProjectFile
Microsoft.Build (19)
BackEnd\Components\Logging\LoggingService.cs (3)
1263messageEvent.ProjectFile = GetAndVerifyProjectFileFromContext(messageEvent.BuildEventContext); 1582ProjectFile = warningEvent.ProjectFile, 1604ProjectFile = warningEvent.ProjectFile,
Evaluation\Evaluator.cs (7)
1706ProjectFile = importElement.ContainingProject.FullPath 1813ProjectFile = importElement.ContainingProject.FullPath, 1992ProjectFile = importElement.ContainingProject.FullPath, 2053ProjectFile = importElement.ContainingProject.FullPath, 2195ProjectFile = importElement.ContainingProject.FullPath 2225ProjectFile = importElement.ContainingProject.FullPath, 2280ProjectFile = importElement.ContainingProject.FullPath,
Logging\BinaryLogger\BuildEventArgsReader.cs (9)
545e.ProjectFile = fields.ProjectFile; 594e.ProjectFile = fields.ProjectFile; 1006ProjectFile = fields.ProjectFile, 1027ProjectFile = fields.ProjectFile, 1050e.ProjectFile = fields.ProjectFile; 1076e.ProjectFile = fields.ProjectFile; 1101ProjectFile = fields.ProjectFile, 1121ProjectFile = fields.ProjectFile, 1245e.ProjectFile = fields.ProjectFile;
Microsoft.Build.CommandLine.UnitTests (1)
TerminalLogger_Tests.cs (1)
482e.ProjectFile = _projectFileWithNonAnsiSymbols;
Microsoft.Build.Engine.UnitTests (3)
BackEnd\NodePackets_Tests.cs (1)
233ProjectFile = "1.proj",
BuildEventArgsSerialization_Tests.cs (2)
825ProjectFile = "foo.csproj", 847ProjectFile = "foo.csproj",
Microsoft.Build.Framework (1)
MetaProjectGeneratedEventArgs.cs (1)
30this.ProjectFile = metaprojectPath;
30 references to ProjectFile
Microsoft.Build (7)
BackEnd\Components\Logging\LoggingService.cs (1)
1015BuildMessageEventArgs buildMessageEvent => buildMessageEvent.ProjectFile,
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (1)
450PropagateImport(checkContext.BuildEventContext.EvaluationId, projectImportedEventArgs.ProjectFile, projectImportedEventArgs.ImportedProjectFile);
EventArgsFormatting.cs (2)
60e.Code, e.File, showProjectFile ? e.ProjectFile : null, e.LineNumber, e.EndLineNumber, 155e.Code, e.File, showProjectFile ? e.ProjectFile : null, e.LineNumber, e.EndLineNumber, e.ColumnNumber, e.EndColumnNumber, e.ThreadId, null);
Logging\BinaryLogger\BinaryLogger.cs (1)
398projectImportsCollector.AddFileFromMemory(metaprojectArgs.ProjectFile, metaprojectArgs.metaprojectXml);
Logging\BinaryLogger\BuildEventArgsWriter.cs (2)
712WriteDeduplicatedString(e.ProjectFile); 779if (e.ProjectFile != null)
Microsoft.Build.Engine.OM.UnitTests (8)
Definition\Project_Tests.cs (8)
3917eventArgs.ProjectFile.ShouldBe(pre.FullPath); 3958eventArgs.ProjectFile.ShouldBe(pre.FullPath); 4003eventArgs.ProjectFile.ShouldBe(pre.FullPath); 4050eventArgs.ProjectFile.ShouldBe(pre.FullPath); 4090eventArgs.ProjectFile.ShouldBe(pre.FullPath); 4133eventArgs.ProjectFile.ShouldBe(pre.FullPath); 4176eventArgs.ProjectFile.ShouldBe(pre.FullPath); 4221eventArgs.ProjectFile.ShouldBe(pre2.FullPath);
Microsoft.Build.Engine.UnitTests (10)
BackEnd\LoggingService_Tests.cs (2)
832Assert.Equal(BuildWarningEventForTreatAsErrorOrMessageTests.ProjectFile, actualBuildEvent.ProjectFile); 939Assert.Equal(BuildWarningEventForTreatAsErrorOrMessageTests.ProjectFile, actualBuildEvent.ProjectFile);
BuildEventArgsSerialization_Tests.cs (8)
467e => e.ProjectFile, 507e => e.ProjectFile, 537e => e.ProjectFile, 652e => e.ProjectFile, 690e => e.ProjectFile, 715e => e.ProjectFile, 837e => e.ProjectFile); 866e => e.ProjectFile,
Microsoft.Build.Utilities.Core (2)
EventArgsFormatting.cs (2)
60e.Code, e.File, showProjectFile ? e.ProjectFile : null, e.LineNumber, e.EndLineNumber, 155e.Code, e.File, showProjectFile ? e.ProjectFile : null, e.LineNumber, e.EndLineNumber, e.ColumnNumber, e.EndColumnNumber, e.ThreadId, null);
MSBuild (3)
EventArgsFormatting.cs (2)
60e.Code, e.File, showProjectFile ? e.ProjectFile : null, e.LineNumber, e.EndLineNumber, 155e.Code, e.File, showProjectFile ? e.ProjectFile : null, e.LineNumber, e.EndLineNumber, e.ColumnNumber, e.EndColumnNumber, e.ThreadId, null);
TerminalLogger\TerminalLogger.cs (1)
831var projectFileName = Path.GetFileName(e.ProjectFile.AsSpan());