SSW Code Auditor > Screenshots > VS.NET Audit Add-in

Code Auditor Logo

Running SSW Code Auditor from Visual Studio

When you start Visual Studio you will see there is a new toolbar with 3 buttons.

Code Auditor Visual Studio Addin Buttons
Figure: SSW Visual Studio Add-in toolbar

  1. Open a solution in Visual Studio.
    Sample Solution
    Figure: Sample Solution

  2. Click "Options"
  3. Select which projects you want to scan.
    Option form - Code Auditor
    Figure: Options Screen of Visual Studio Add-in

  4. Go to the Code Auditor Tab and change Job set (optional: Default Job Set is C# Rules)
    Option form - Code Auditor
    Figure: Option of Code Auditor

  5. Click the Audit button. A progress bar will pop up.
    Progress Bar show how many files are scanning.
    Figure: Progress Bar after you click Audit

  6. Go to the Output Panel and find "SSW Health Auditor: Code Auditor".
    Ouput Panel of Visual Studio.
    Figure: Choose SSW Code Auditor Output in Visual Studio

  7. Double Click the line error and fix it and do Step (5) again.
    Code that need to fix.
    Figure: Fix the code that breaks the rule.