1 write to _logFile
Microsoft.Build.Engine.UnitTests (1)
BinaryLogger_Tests.cs (1)
87_logFile = _env.ExpectFile(".binlog").Path;
24 references to _logFile
Microsoft.Build.Engine.UnitTests (24)
BinaryLogger_Tests.cs (24)
108binaryLogger.Parameters = _logFile; 132fileToReplay = _logFile; 150logReader.Replay(_logFile); 215binaryLogger.Parameters = _logFile; 240logReader.Replay(_logFile); 243AssertBinlogsHaveEqualContent(_logFile, replayedLogFile); 246AssertFilesAreBinaryEqualAfterUnpack(_logFile, replayedLogFile); 327binaryLogger.Parameters = $"LogFile={_logFile}"; 356RunnerUtilities.ExecMSBuild($"{projectFile.Path} -bl:{_logFile}", out bool success); 359RunnerUtilities.ExecMSBuild($"{_logFile} -flp:logfile={Path.Combine(logFolder.Path, "logFile.log")};verbosity=diagnostic", out success); 416RunnerUtilities.ExecMSBuild($"{projectFile.Path} -nr:False -bl:{_logFile} -flp1:logfile={Path.Combine(logFolder.Path, "logFile.log")};verbosity=diagnostic -flp2:logfile={Path.Combine(logFolder.Path, "logFile2.log")};verbosity=normal", out bool success); 428RunnerUtilities.ExecMSBuild($"{_logFile} -flp1:logfile={Path.Combine(logFolder.Path, "logFile3.log")};verbosity=diagnostic -flp2:logfile={Path.Combine(logFolder.Path, "logFile4.log")};verbosity=normal", out success); 446Parameters = $"LogFile={_logFile}", 459var projectImportsZipPath = Path.ChangeExtension(_logFile, ".ProjectImports.zip"); 490Parameters = $"LogFile={_logFile}", 519var projectImportsZipPath = Path.ChangeExtension(_logFile, ".ProjectImports.zip"); 540Parameters = $"LogFile={_logFile}" 577Parameters = $"LogFile={_logFile}" 626string consoleOutput1 = RunnerUtilities.ExecMSBuild($"{projectFile1.Path} -bl:{_logFile} -verbosity:diag -nologo", out bool success1); 628var expected1 = $"-nologo -bl:{_logFile} -verbosity:diag {projectFile1.Path}"; 634string consoleOutput2 = RunnerUtilities.ExecMSBuild($"{projectFile2.Path} -bl:{_logFile} -verbosity:{verbosity} -nologo", out bool success2); 636var expected2 = $"-nologo -bl:{_logFile} -verbosity:{verbosity} {projectFile2.Path}"; 673File.Create(_logFile).Dispose(); 694File.Create(_logFile).Dispose();