Reputation: 109
I would like to use StyleCopAnalyzers https://github.com/DotNetAnalyzers/StyleCopAnalyzers to find StyleCop violations in my code. However I can't find the way to run them without building entire solution. Is that even possible?
Upvotes: 1
Views: 331
Reputation: 5850
Have a look at the StyleCopTester project. That shows off a lot of the groundwork to run StyleCop Analyzers - and any other Roslyn Analyzer - using the Roslyn (Microsoft.CodeAnalysis) APIs.
Upvotes: 3