About exclude generated codes

Mar 16, 2011 at 7:07 PM

Hi Everyone,

I tried to tell StyleCop to ignore a list of files which are generated by VS2010 by adding the block below to my Settings.StyleCop file in my solution but it did not work.
I am using version 4.4.0.14. Could you tell me what's wrong with my setting?


<SourceFileList>
    <SourceFile>AssemblyInfo.cs</SourceFile>
    <SourceFile>Form1.Designer.cs</SourceFile>
    <Settings>
        <GlobalSettings>
            <BooleanProperty Name="RulesEnabledByDefault">False</BooleanProperty>
        </GlobalSettings>
    </Settings>
 </SourceFileList>

thanks,

Jdang