How to write a script to analyse C# code using FxCop?
I am trying to write a script to analyse C# code (batch script) 开发者_如何学编程using FxCop and integrate scripts into Hudson to automate the task. Can anyone can help? Even help to get me halfway is appreciated.
Thanks in advance.
Here are a few hints to get you started:
- Write a batch script that executes FxCopCmd, the command-line tool for FxCop.
- Use the Violations plugin to display the analysis results in Hudson.
I also suggest that you use Jenkins instead of Hudson, but this is not necessary.
精彩评论