I have configured below statement in my csproj file to enable stylecop rule on my project.
<Import Project="C:\StyleCop\StyleCop\v4.3\Microsoft.StyleCop.Targets" />
I have modified my settings file to incorporate only 2 rules, but when I build my project I am getting warning messages related to all styleCop rules.
I have tried changing OverrideSettingsFile attribute, but it did not help.
Can you please suggest on how to make use of correct styleCop settings on my build.