如何在 Hudson-CI 上运行 Visual Studio 代码分析?
我已经找到了如何将 StyleCop 和 FxCop 与 Hudson 集成,但是 Visual Studio Code Analysis 又如何呢?难道它也不能集成到Hudson中吗?
I have found how to integrate StyleCop and FxCop with Hudson, but what about Visual Studio Code Analysis? Can't it also be integrated into Hudson?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Visual Studio 代码分析只是 FxCop 的扩展版本。如果要包含 VS Code Analysis 附带的添加规则,请从 VS 安装运行 FxCopCmd.exe,而不是从独立的 FxCop 安装运行。
Visual Studio Code Analysis is simply an extended version of FxCop. If you want to include the addition rules shipped with VS Code Analysis, run FxCopCmd.exe from your VS installation instead of from a stand-alone FxCop installation.
除非有人为此特定目的创建了插件,否则您要么必须编写自己的插件,要么就运气不好。不过,有了 StyleCop 和 FxCop 就可以涵盖很多内容,所以我不会太担心。
Unless someone has created a plugin for this specific purpose, you'll either have to write your own or you're out of luck. Having StyleCop and FxCop covers a lot though, so I wouldn't worry too much.