5 writes to FilePath
Microsoft.Build (5)
Logging\BinaryLogger\BinaryLogger.cs (5)
791
FilePath
= logFilePath;
802
FilePath
= filePath;
809
FilePath
= parsedParams.LogFilePath;
814
FilePath
= "msbuild.binlog";
820
FilePath
= Path.GetFullPath(FilePath);
14 references to FilePath
Microsoft.Build (14)
Logging\BinaryLogger\BinaryLogger.cs (14)
379
? [
FilePath
]
380
: [
FilePath
, .. AdditionalFilePaths];
465
logDirectory = Path.GetDirectoryName(
FilePath
);
478
stream = outputStream ?? new FileStream(
FilePath
, FileMode.Create);
482
projectImportsCollector = new ProjectImportsCollector(
FilePath
, CollectProjectImports == ProjectImportsCollectionMode.ZipFile);
500
string message = ResourceUtilities.FormatResourceStringStripCodeAndKeyword(out errorCode, out helpKeyword, "InvalidFileLoggerFile",
FilePath
, e.Message);
528
ProjectImportsCollector.FlushBlobToFile(
FilePath
, args.ContentStream);
584
LogMessage("BinLogFilePath=" +
FilePath
);
670
File.Copy(
FilePath
, additionalPath, overwrite: true);
680
FilePath
,
812
if (
FilePath
== null)
816
KnownTelemetry.LoggingConfigurationTelemetry.BinaryLoggerUsedDefaultName =
FilePath
== "msbuild.binlog";
820
FilePath = Path.GetFullPath(
FilePath
);
826
string message = ResourceUtilities.FormatResourceStringStripCodeAndKeyword(out errorCode, out helpKeyword, "InvalidFileLoggerFile",
FilePath
, e.Message);