Generate FxCop Results xml in teamcity -


I have to set up a build step for FxCop in TeamCita. I also need to create FxCP results in an XML file. Please help Kripa Marie. I'm new to TeamCity. I really appreciate it if any screenshot can also post. I did google, but could not be able to understand properly.

To run FxCop in TeamCity, follow these steps:

  1. Install FxCop on the agent (or if you have all agents).

    Download it here:

  2. Edit the file buildAgent.properties and add information about the FxCop instalation folder.

    Add line: system.FxCopRoot = C: \ Program Files (x86) \ Microsoft Fxcop 10.0

  3. Build Build Steps It's Now Easy to Have Interesting Settings :

    Runnert Type: FxCop

    FxCop version: 10.0

    Assemblies: for example bin *. Dll

    Report XSLT file:% system.FxCopRoot% / Xml / FxCopReport.xsl

    Additional FxCopCmd Options: For example / ruleSet: "=% teamcity.build. WorkingDir% \ core \ ProjectRules.ruleset ". I use it to specify custom rule settings

XML is generated from a path that can then be found in the build log. You can use more FxCopCmd parameters to change the path, here's more information:

Let me know if you have any questions.


Comments

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -