Following What Replaces Code Analysis in Visual Studio 2019?, I understand that Microsoft.CodeAnalysis.FxCopAnalyzers
is deprecated. Previously, the Code Analysis generated an automated XML file with all the warnings and errors in the template of MyApplication.exe.CodeAnalysisLog.xml
.
It seems like those new .NET Analyzers do not work the same way. Is it possible to generate a report (log) with those errors using the new analyzer? It would be nice if an XML file could be generated, although there is no requirement for the file format.
It is my goal to create a CI build for which I will be able to track these warnings/errors and fail the build itself.
Any assistance would be greatly appreciated.