无法在创建自定义FxCop规则时达到断点 [英] Can not hit the break point on creating custom FxCop Rule

查看:94
本文介绍了无法在创建自定义FxCop规则时达到断点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是FxCop新手创建自定义规则

I am new to FxCop creating custom Rule

我按照这篇文章
http://blogs.msdn.com/b/codeanalysis/archive/2010/03/26/how-to-write-custom-static-code-analysis-rules-and -integrate-them-into-visual-studio-2010.aspx?wa = wsignin1.0

我可以做除了这个之外的所有事情

I could do every thing except this

对于命令行参数,请指定

/out:"results.xml" /file:"MyCustomRules.dll" /rule:"MyCustomRules.dll" / D:"C:\Program Files(x86)\ Microsoft Visual Studio 10.0 \Team Tools \Static Analysis Tools \FxCop"

For command line arguments specify
/out:"results.xml" /file:"MyCustomRules.dll" /rule:"MyCustomRules.dll" /D:"C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop"

我无法点击断点。

请告诉我可能出现的问题

Please let me know what could be the problem

感谢您的预付款。

推荐答案

您好,

请尝试指定程序集的完整路径。例如,/ out:"C\Program Files\results.xml"" /file:"D:\MyProject\MyCustomRules.dll" ....

Please try to specify the full path to the assembly. For example, /out:"C\Program Files\results.xml" /file:"D:\MyProject\MyCustomRules.dll" ....

祝你好运


这篇关于无法在创建自定义FxCop规则时达到断点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆