I am trying to integrate Stylecop Analyzer to the C# project . But I want to create a control by having only specific rules enabled\disabled as and when required for that project. I have not found right resources to understand and set this up . To illustrate, I must be able to select the rules that I wish to verify during build and also I must be able to enable\disable those rules as and when required . Could anyone share any links\resources or their opinion for me to understand and set this stylecop analyzer into the project.