解析代码将Baseline.xml合并到Visual Studio 2012错误列表选项卡中 [英] Parsing Code Contracts Baseline.xml into Visual Studio 2012 Errors List Tab

查看:69
本文介绍了解析代码将Baseline.xml合并到Visual Studio 2012错误列表选项卡中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在大型Visual Studio解决方案中,使用cccheck.exe进行代码缩放的静态分析需要很长时间。因此,在用户指南中注明了使用baseline.xml进行分析的最佳做法,默认情况下,任何新的检测都将添加到obj bin中的baseline.xml.new
文件中。

In a large Visual Studio Solution static analysis with Code Contracts takes a very long time using cccheck.exe. So it is noted in the user guide as best practice to use baseline.xml for the analysis and any new detections will be added to a baseline.xml.new file in your obj bin by default.

但是,您如何将xml解析回您的Visual Studio解决方案错误部分,以便您可以转到代码中有问题的部分?

However, how do you then parse the xml back into your Visual Studio Solution errors section so that you can go to the problematic sections of your code?

推荐答案

hi joe,

hi joe,

  现在最好的解决方案是使用缓存(如果在服务器上共享,最好),以节省分析时间和属性contractverification,以集中您的验证工作。

   the best solution now is to use the cache (best if shared on a server) to save on the analysis time and the attribute contractverification to focus your verification efforts.

ciao

f


这篇关于解析代码将Baseline.xml合并到Visual Studio 2012错误列表选项卡中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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