English 中文(简体)
2. 处理FxCopCmd.exe的施工后事件错误
原标题:Getting post-build event errors on running FxCopCmd.exe
  • 时间:2011-11-23 15:49:42
  •  标签:
  • fxcopcmd

我把这条线用于我的施工后,以操作FxCopCmd.exe:

C:Program Files (x86)Microsoft FxCop 10.0FxCopCmd.exe" /file:"$(TargetPath)" /console

在我建造项目之后,它显示了这一错误:

Error 40 指挥“C:Program files (x86)Microsoft FxCop 10.0FxCopCmd.exe”/file: “C:csharpForCOPMyPrjinMy TestPrj.exe” /console”与代码9009脱离。

So what am I doing wrong?

问题回答

Try running the same command line from a Windows command prompt. If the additional information this provides is not sufficient for you to identify the problem, please add the details to your post.





相关问题
FxCopCmd argument encoding problem

Problem: I need to use FxCopCmd.exe (FxCop 10.0) from my code, and my problem is, that FxCopCmd gets my arguments (see below p.StartInfo.Arguments) with some encoding problem, I believe. (I have no ...

FxCop1.36 and failonerror

I am running FxCop using Apache Ant. For version 1.36, if all the dependency information are not given by the user, the analysis returns an error code, but a report is created, which might suggest ...

Is there a way to make fxcopcmd to always return 0?

I would like to use fxcop in a continuous build, and almost every class in my project are analysed, but there is some exception (assembly load) and it makes the fxcopcmd exit with error code 8. So the ...

热门标签