Stylecop 4.7 Custom rules XML doesn't show on the settings list

Jul 3, 2012 at 6:41 AM

Hi Professionals,

i tried to created a stylecop custom rules using Version 4.7, however my custom rules doesn't show in the Setting List, may i know is it my XML issue or it's because i am using C# Express 2010 version, below is my XML code seeking advice

<?xml version="1.0" encoding="utf-8" ?>
<SourceAnalyzer Name="My Custom Rule3">
  <Description>
    Custom rule for demo purposes.
  </Description>
  <Rules>
    <Rule Name="AvoidUsingAInClassNames" CheckId="CR0001">
      <Context>Do not use 'M' letter in {0} names.</Context>
      <Description>Fires when 'a' letter is used in class name.</Description>
    </Rule>
  </Rules>
</SourceAnalyzer>