Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-2242

Stylecop has changed the XML output

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Component/s: violations-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      Stylecop 4.3 has changed the XML output and the violations plugin will not work with the
      new format.

      New format:
      <StyleCopViolations>
      <Violation Section="Root.ListViewProblem.Form1.Dispose%bool" LineNumber="18" Source="Form1.Designer.cs"
      RuleNamespace="Microsoft.StyleCop.CSharp.ReadabilityRules" Rule="PrefixLocalCallsWithThis"
      RuleId="SA1101">The call to components must begin with the 'this.' prefix to indicate
      that the item is a member of the class.</Violation>
      <Violation Section="Root.ListViewProblem.Form1.Dispose%bool" LineNumber="16" Source="Form1.Designer.cs"
      RuleNamespace="Microsoft.StyleCop.CSharp.ReadabilityRules" Rule="PrefixLocalCallsWithThis"
      RuleId="SA1101">The call to components must begin with the 'this.' prefix to indicate
      that the item is a member of the class.</Violation>
      </StyleCopViolations>

        Attachments

          Activity

            People

            • Assignee:
              redsolo redsolo
              Reporter:
              redsolo redsolo
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: