2 writes to _directory
Microsoft.Gen.ComplianceReports (2)
ComplianceReportsGenerator.cs (2)
36
_directory
= Path.GetDirectoryName(filePath);
85
_directory
??= GeneratorUtilities.TryRetrieveOptionsValue(options, ComplianceReportOutputPathMSBuildProperty, out var reportOutputPath)
3 references to _directory
Microsoft.Gen.ComplianceReports (3)
ComplianceReportsGenerator.cs (3)
89
if (string.IsNullOrWhiteSpace(
_directory
))
109
_ = Directory.CreateDirectory(
_directory
);
112
File.WriteAllText(Path.Combine(
_directory
, _fileName), report, Encoding.UTF8);