C #, gendarme, sonar and jenkins: exclude generated files from the gendarme

I work with a .net gendarme called Sonar (launched by Jenkins). I have many AvoidVisibleFieldsRule violations. Major violations are found in the generated files. Since I cannot do anything, I would like to exclude * .designer.cs from the scan.

I cannot find a way to do this. Sonar has properties to exclude generated files, but it does not look like a gendarme.

Is there any way to do this?

thanks for all

+3
source share

All Articles