You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// By default, compliance reports are only generated only during build time and not during design time to prevent the file being written on every keystroke in VS.
61
+
// By default, compliance reports are generated only during build time and not during design time to prevent the file being written on every keystroke in VS.
59
62
return;
60
63
}
61
64
@@ -78,19 +81,30 @@ public void Execute(GeneratorExecutionContext context)
// Report diagnostic. Tell that it is either <MetricDefinitionReportOutputPath> missing or <CompilerVisibleProperty Include="OutputPath"/> visibility to compiler.
70
+
// Report diagnostic:
71
+
vardiagnostic=newDiagnosticDescriptor(
72
+
DiagnosticIds.AuditReports.AUDREPGEN000,
73
+
"MetricsReports generator couldn't resolve output path for the report. It won't be generated.",
74
+
"Both <MetricsReportOutputPath> and <OutputPath> MSBuild properties are not set. The report won't be generated.",
0 commit comments