4 writes to FilePath
Microsoft.Build (4)
Logging\BinaryLogger\BinaryLogger.cs (4)
668
FilePath
= filePath;
675
FilePath
= parsedParams.LogFilePath;
680
FilePath
= "msbuild.binlog";
686
FilePath
= Path.GetFullPath(FilePath);
14 references to FilePath
Microsoft.Build (14)
Logging\BinaryLogger\BinaryLogger.cs (14)
305
? [
FilePath
]
306
: [
FilePath
, .. AdditionalFilePaths];
365
logDirectory = Path.GetDirectoryName(
FilePath
);
378
stream = new FileStream(
FilePath
, FileMode.Create);
382
projectImportsCollector = new ProjectImportsCollector(
FilePath
, CollectProjectImports == ProjectImportsCollectionMode.ZipFile);
400
string message = ResourceUtilities.FormatResourceStringStripCodeAndKeyword(out errorCode, out helpKeyword, "InvalidFileLoggerFile",
FilePath
, e.Message);
428
ProjectImportsCollector.FlushBlobToFile(
FilePath
, args.ContentStream);
481
LogMessage("BinLogFilePath=" +
FilePath
);
559
File.Copy(
FilePath
, additionalPath, overwrite: true);
569
FilePath
,
678
if (
FilePath
== null)
682
KnownTelemetry.LoggingConfigurationTelemetry.BinaryLoggerUsedDefaultName =
FilePath
== "msbuild.binlog";
686
FilePath = Path.GetFullPath(
FilePath
);
692
string message = ResourceUtilities.FormatResourceStringStripCodeAndKeyword(out errorCode, out helpKeyword, "InvalidFileLoggerFile",
FilePath
, e.Message);