代码契约说关于C ++ / CLI项目的愚蠢的事情 [英] Code Contracts says silly things about C++/CLI projects
本文介绍了代码契约说关于C ++ / CLI项目的愚蠢的事情的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
获取此警告:
"Contract reference assembly for project 'xxx' not found. Select 'Build' or 'DoNotBuild' for Contract Reference in project settings."
Project" xxx"是一个C ++ / CLI项目,所以我做不到:)
Project "xxx" is a C++/CLI project, so I can't do that :)
推荐答案
谢谢!这已得到修复,将出现在下一个版本中。它应该只抱怨没有对引用程序集进行选择的C#和VB项目。
Thanks! This has been fixed and will appear in the next release. It should complain only about C# and VB projects for which a choice has not been made about the reference assembly.
这篇关于代码契约说关于C ++ / CLI项目的愚蠢的事情的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文