2010-07-30 60 views
1

我需要運行FxCop與CruiseControl.NET 1.5持續集成。我已經包含buildscript和執行FxCop項目文件的命令。FxCop 1.36與CruiseControl.NET 1.5

當我內建CruiseControl.NET項目,我碰到下面的錯誤。

C:\ CPLBuildScripts \ CheckpointLearning \ FullBuild \ Web.BuildScript.proj(19,5):

 errorMSB3073: The command "C:\Program Files\Microsoft FxCop 1.36\FxCopCmd.exe /p:C:\CheckpointLearningFullBuilld\CPL.FxCop /o:C:\CheckpointLearningFullBuilld_Artifacts\Artifacts\FxCop_AnalysisReport.xml" exited with code 9009 

(19,5)指上述命令。

請幫我完成這個。感謝和提前問候。

回答

1

您似乎缺少fxcopcmd.exe路徑的引號。

+0

哦....我已經錯過了報價爲u說:(。現在它的工作。TY非常多4 d幫助:)。 – Ashan 2010-08-11 07:33:22

0

你應該改變命令

"C:\Program Files\Microsoft FxCop 1.36\FxCopCmd.exe" /p:C:\CheckpointLearningFullBuilld\CPL.FxCop /o:C:\CheckpointLearningFullBuilld_Artifacts\Artifacts\FxCop_AnalysisReport.xml