locked
FxCop warning in Vsix project, while GlobelSuppression file is existing. (VS2015) RRS feed

  • Question

  • I create a solution with projects + a vsix project, which references the other projects. I suppressed all FxCop warnings which I get for right click -> "Run Code Analysis on Solution". Now I got no FxCop warning when rerunning CA on the solution. But when I run the CA only on the Vsix project (Right click on the project -> Analyze -> Run Code Analyse ) I got all the errors, warnings which are in the referenced projects while there are the suppression files. If I suppress the message in GlobalSupression file, nothing has changed, the FxCop warnings come again (the supression file is created for the Vsix projects). The associated rules are f.e.: CA1502, CA1505.

    How can I fix the issue?

    Thanks,

    Peter

    Monday, September 21, 2015 7:18 AM

Answers