When I run it, I see this output in the "Output" window.
Where can I find the detail about the actual violations found?
------ StyleCop started ------
Pass 1: Form1.Designer.cs...
Pass 1: Form1.cs...
Pass 1: MonthPeriod.cs...
Pass 1: Application.Designer.cs...
Pass 1: MonthPeriods.cs...
Pass 1: AssemblyInfo.cs...
Pass 1: Resources.Designer.cs...
Pass 1: MyNamespaceSupportForCSharp.cs...
Loaded Analyzer: Documentation Rules...Loaded Analyzer: Layout Rules...Loaded Analyzer: Maintainability Rules...Loaded Analyzer: Naming Rules...Loaded Analyzer: Ordering Rules...Loaded Analyzer: Readability Rules...Loaded Analyzer: Spacing Rules...Pass 1: Period.cs...
Pass 2: Form1.cs...
Pass 2: Application.Designer.cs...
Pass 2: MyNamespaceSupportForCSharp.cs...
Pass 2: Form1.Designer.cs...
---------------------- Done ----------------------
Violation Count: 547
StyleCop used to be a Visual Studio plugin and a NuGet package. You can still use this in Visual Studio 2019, but the current recommended way to use StyleCop is to use the Roslyn-based analyzers.
In your StyleCop install, there's a Settings. StyleCop file. You can edit this to turn off rules globally. Drag that file onto the Settings Editor executable in that file to edit it.
Check the Error and Warnings tabs
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With