Generate FxCop Results xml in teamcity -
Generate FxCop Results xml in teamcity -
i need set build step in teamcity fxcop. need generate fxcop results in xml file. please help me. new teamcity. appreciate if post screenshots also. did google, not able understand properly.
to fxcop running in teamcity, need follow these steps:
install fxcop on agent (or of agents if have more).
download here: https://fxcopinstaller.codeplex.com/
edit file buildagent.properties
, add together info fxcop instalation folder.
add line: system.fxcoproot=c:\program files (x86)\microsoft fxcop 10.0
create build step. easy now. interesting settings are:
runnert type: fxcop
fxcop version: 10.0
assembiles: illustration bin*.dll
report xslt file: %system.fxcoproot%/xml/fxcopreport.xsl
additional fxcopcmd options: illustration /ruleset:"=%teamcity.build.workingdir%\core\projectrules.ruleset"
. utilize specify custom rules settings
the xml generated path can found in build log. alter path can utilize more fxcopcmd parameters, more info here: http://msdn.microsoft.com/en-us/library/bb429449%28v=vs.80%29.aspx
let me know if have questions.
xml teamcity fxcop
Comments
Post a Comment