It's all about the answers!

Ask a question

Command line example for FxCop integration with RTC 4.01


Carlito V (11156) | asked Apr 15 '13, 9:29 a.m.
It is possible to set up a precondition to use the Microsoft FxCop tool in RTC.
For more details, see article https://jazz.net/library/article/591
Q1. Is that possible to have an example of arguments for the FxCopCmd.exe tool command that works and has been tested for this integration?
Normally "At minimum, you must specify either of the following:
The location of the analysis output, using the /console, /consoleXsl,
or /out option, and one of the following:
A project that uses the /project option.
An assembly to analyze and a rules directory pair using the /file and
/rule options.
"
Q2. Do you know if we can use ruleset argument?
In the MSDN documentation
http://msdn.microsoft.com/en-US/library/bb429449%28v=vs.80%29.aspx  , there is an entry but not sure if
this option can be used or not "Custom RuleSet, If you need to analyze with custom ruleset, you can
just type /ruleset:=YourCustomRuleSet.ruleset
"
I did some search and find an article about ruleset
http://www.paraesthesia.com/archive/2010/03/29/updating-your-continuous-integration-build-to-run-fxcop-from-vs2010.aspx.
   


Be the first one to answer this question!


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.