Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Command line example for FxCop integration with RTC 4.01

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.
   


0 votes


Be the first one to answer this question!

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Apr 15 '13, 9:29 a.m.

Question was seen: 5,598 times

Last updated: Apr 15 '13, 9:29 a.m.

Confirmation Cancel Confirm