Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

StyleCop-Where's my output?

Tags:

c#

stylecop

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
like image 417
VJK Avatar asked Nov 14 '10 18:11

VJK


People also ask

Is StyleCop still used?

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.

How do I turn off StyleCop rules?

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.


1 Answers

Check the Error and Warnings tabs

like image 145
Chad Avatar answered Sep 23 '22 14:09

Chad