none
FxCop: How to suppress a rule enabled in a /rsp:file.rsp ? RRS feed

  • Question


  • we have a file CodeAnalysis.rsp contains "/ruleid:+!Microsoft.Design#CA1054", which applies to all the projects we have. In one perticular project we want to disable this rule, so we add one more parameter in command line but it won't work. Here is two related parameters we passed in.

     /rsp:CodeAnalysis.rsp /rid:-Microsoft.Design#CA1054:UriParametersShouldNotBeStrings

    Is it possible to make CA1054 suppressed in this perticular project with given global /rsp:CodeAnalysis.rsp, which contains +!Microsoft.Design#CA1054?

    Thanks
    yanan

    yazhang
    Wednesday, October 8, 2008 10:50 PM