Need help with excluding issues across the whole project when running code analysis

Hi,

I would like to exclude the rule csharpsquid:S101 from the code analysis for my project but I am struggling with what I need to put in the file path pattern and where to put it. Should it go in Ignore Issues on Multiple Criteria or Restrict Scope of Coding Rules and whats should go in File Path Pattern if I want to ignore the rule for all files in my project ?

Thanks

Chris

Hey there.

Ideally, if you want to exclude a rule from many projects, you’ll edit the Quality Profile assigned to the project.

But for a one-off, you can use the file path pattern (**/*) under Ignore Issues on Multiple Criteria

Thanks Colin. Just what I needed. I’ll take a look at the Quality Profiles later.

https://www.youtube.com/watch?v=ORZLDkwUl2k :smiley:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.