如何將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