如何将FxCop与NAnt脚本集成?在我的解决方案中,我有很多带有大量DLL的项目。fxcop与南特
这是我的示例代码:
<target name="runFxCop">
<exec program="${build.dir}\tools\MicrosoftFxCop\FxCopCmd.exe" commandline="/p:${build.dir}\svn_platform.FxCop /o:${build.dir}\FxCop_Output\fxcop-results.xml" failonerror="false" />
</target>
,我发现了错误:
Analysis was not performed; at least one valid rules assembly and one valid target file must be specified.
1 total analysis engine exceptions.
那么问题是什么?南特旨在运行FXCop规则。 – Ian 2010-03-24 08:24:59
雅,但如何整合Fxcop .. – FosterZ 2010-03-24 08:29:25