从哪里可以为项目设置“构建”或“不构建”合同参考?(From where we can set “Build”or “Do Not Build” Contract reference for a project?)
对于解决方案中的几乎所有项目,我都会收到以下警告:
Contract reference assembly for project 'X.X.X' not found. Select 'Build' or 'DoNotBuild' for Contract Reference in project settings.代码契约构建参考汇编操作
但是我无法找到任何可以在visual studio中设置此选项的提示。
任何帮助都非常感谢。
感谢致敬
I get following warning for almost all my projects in a solution:
Contract reference assembly for project 'X.X.X' not found. Select 'Build' or 'DoNotBuild' for Contract Reference in project settings.Code contracts build reference assembly actions
But I am unable to find any hint of from where we can set this option in visual studio.
Any help on this much appreciated.
Thanks and Regards
最满意答案
右键单击项目,属性,然后在“代码约定”选项卡上,您将找到以下选项:
Right click on project, Properties and on the Code Contracts tab You will find this option:
更多推荐
发布评论