Tuesday, 16 October 2012

Enable Treat Warnings as Errors in TFS Build

Hi ,


Here you go with the settings so that the warning will get treated as error in Team Build(TFS 2010).

Provide below value for the section MSBuild Arguments(See screen shot)

/p:TreatWarningsAsErrors="true"

 
And after that all the warnings would get treated as error J

1 comment:

Unknown said...

Great help, thanks for sharing such a nice information.. i like your post. really good work. keep it up..

Hotmail Support