FxCop /代码分析打破了代码合同 - VS2012 [英] FxCop / Code Analysis breaks with Code Contracts - VS2012

查看:55
本文介绍了FxCop /代码分析打破了代码合同 - VS2012的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我使用VS2012构建项目,我会正确显示FXCop /代码分析警告。

If I build a project with VS2012, I get the FXCop/Code Analysis warnings appearing correctly.

我打开代码合约的时间 - 只是第一个框"执行运行时合同检查" (完整)和构建,我没有得到代码分析错误 - 实际上COde分析告诉我0错误,0警告。

The minute I turn code contracts on - just the first box "Perform Runtime Contract Checking" (Full) and build, I get no code analysis errors - in fact COde Analysis tells me 0 errors, 0 warnings.

这是因为重写,不知何故?

Is this because of the re-writer, somehow??

推荐答案

请忽略 - 这是我的错误。
Please ignore - this was a mistake on my part.


这篇关于FxCop /代码分析打破了代码合同 - VS2012的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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