Azirel
Azirel
CC#
Created by Azirel on 10/7/2023 in #help
❔ Roslyn analyzer rules extraction
Pls guide me with a solution for extracting a set of rules from any RoslynAnalyzer.dll that it contains. Just as VS does in order to view them in .ruleset editor window. Context: I have already tried to use a generic approach with loading assemblies and its dependencies manually and getting access to DiagnosticDescriptors, it worked on my first test assemly, but the more new assemblies I' trying to test the more new errors I get. It feels like I'm going in a completely wrong direction and do not understand problem I'm trying to solve properly.
2 replies