Capture compile warnings from .net project

Hi,

Im running Teamcity 9.0

I have been assigned to an existing .NET project which is littered with compile warnings.

I would like to track the number of compile warnings, and fail the build if the number of warnings is rising.

The project is build through a powershell script.

The warnings are logged though:

[11:07:35][Step 1/6] 439 Warning(s)
[11:07:35][Step 1/6] 0 Error(s)


Tried to fumble with .NET inspections, but they seem as though they take alot of time, so that is not an option.

Any good advice to achieve my goal?

Regards,
CSkydt

Please sign in to leave a comment.