# FxCop Assistance

**URL:** https://www.finalbuilder.com/forums/t/fxcop-assistance/1870
**Category:** Discussion
**Created:** [October 5, 2011, 7:33am UTC](https://www.finalbuilder.com/forums/t/fxcop-assistance/1870 "2011-10-05T07:33:09Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![nelsonwolf](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/b9e5f3/32.png) [@nelsonwolf](https://www.finalbuilder.com/forums/u/nelsonwolf)
#### Post date: [October 5, 2011, 7:33am UTC](https://www.finalbuilder.com/forums/t/fxcop-assistance/1870/1 "2011-10-05T07:33:09Z")

</div>

&nbsp;Hi,

I'm having trouble getting the FxCop action to replicate what I've constructed on the command line. &nbsp;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

&nbsp;

Thanks,

-Nelson

---

<div class="post-metadata">

### Author: ![stephen.ryan](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/f14d63/32.png) [@stephen.ryan](https://www.finalbuilder.com/forums/u/stephen.ryan)
#### Post date: [October 6, 2011, 1:16am UTC](https://www.finalbuilder.com/forums/t/fxcop-assistance/1870/2 "2011-10-06T01:16:54Z")

</div>

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
