FxCop Assistance

 Hi,

I'm having trouble getting the FxCop action to replicate what I've constructed on the command line.  What options should I set to replicate this command line?

"c:\Program Files (x86)\Microsoft FxCop 1.36\FxCopCmd.exe" /out:j:\temp\FxCopReport.html /axsl /project:j:\temp\test.fxcop

 

Thanks,

-Nelson

Hi Nelson

The /asxl (apply xsl) switch will only be passed if you have supplied a Transformation XSL file name and enabled the ‘Apply XSL transformation to the analysis report’ option is enabled on the Options page of the action.

The /project (/p) switch will be passed when a project file is specified on the Targets page of the action and the /out (/o) switch will be passed when an output file name is specified on the Options page of the action.

Hope this helps.

Regards,
Steve