5 writes to FilePath
Microsoft.Build (5)
Logging\BinaryLogger\BinaryLogger.cs (5)
813
FilePath
= logFilePath;
824
FilePath
= filePath;
831
FilePath
= parsedParams.LogFilePath;
836
FilePath
= "msbuild.binlog";
842
FilePath
= Path.GetFullPath(FilePath);
14 references to FilePath
Microsoft.Build (14)
Logging\BinaryLogger\BinaryLogger.cs (14)
381
? [
FilePath
]
382
: [
FilePath
, .. AdditionalFilePaths];
467
logDirectory = Path.GetDirectoryName(
FilePath
);
480
stream = outputStream ?? new FileStream(
FilePath
, FileMode.Create);
484
projectImportsCollector = new ProjectImportsCollector(
FilePath
, CollectProjectImports == ProjectImportsCollectionMode.ZipFile);
502
string message = ResourceUtilities.FormatResourceStringStripCodeAndKeyword(out errorCode, out helpKeyword, "InvalidFileLoggerFile",
FilePath
, e.Message);
530
ProjectImportsCollector.FlushBlobToFile(
FilePath
, args.ContentStream);
603
LogMessage("BinLogFilePath=" +
FilePath
);
689
File.Copy(
FilePath
, additionalPath, overwrite: true);
699
FilePath
,
834
if (
FilePath
== null)
838
KnownTelemetry.LoggingConfigurationTelemetry.BinaryLoggerUsedDefaultName =
FilePath
== "msbuild.binlog";
842
FilePath = Path.GetFullPath(
FilePath
);
848
string message = ResourceUtilities.FormatResourceStringStripCodeAndKeyword(out errorCode, out helpKeyword, "InvalidFileLoggerFile",
FilePath
, e.Message);