Configure ReSharper build to only fail on error severity issues


I tried setting up a ReSharper build with TeamCity. My intend is, that this build only fails, when there are any inspection errors. With inspection errors I mean those ones, which I configured in the TeamSettings file to be of inspection severity error. I configured a failure condition: "Fail build if number of inspection errors is more than 0" as described on your page.

However it looks like in TeamCity all inspection issues (independent of their severity) are treated as errors.

How can I configure the TeamCity build to only consider issues of severity level "error"?

1 comment

Hello Stefan,

We have the related request in our tracker:, please vote and see comments. As of now warning-level inspections can be turned off using inspection profile.


Please sign in to leave a comment.