如何生成xml警告报告? [英] How to generate xml warning report?

查看:92
本文介绍了如何生成xml警告报告?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

请您详细告诉我如何生成xml。代码合同警告文件?
Would you please tell me in detail how to generate xml. files of code contracts warnings?

推荐答案

对不起,是的,这是你怎么做的:

为静态检查器使用两个额外的选项: -xml -outFile:whateverFileNameYouWant.xml

您可以在命令行中添加这些选项(如果从命令行运行cccheck),或者如果从VS运行,请在"自定义"中添加它们方式];项目的"代码约定"属性窗格中的文本字段。

希望这会有所帮助,并对延迟感到抱歉。
Sorry, yes, here's how you do it:

Use two extra options for the static checker: -xml -outFile:whateverFileNameYouWant.xml

You add these options either on the command line (if you run cccheck from the command line), or if you run from VS, add them in the "Custom Options" text field in the Code Contracts property pane of your project.

Hope this helps, and sorry for the delay.


这篇关于如何生成xml警告报告?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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