我根本无法获得Code Contracts [英] I just can't get Code Contracts working at all

查看:130
本文介绍了我根本无法获得Code Contracts的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我认为是时候尝试Code Contracts了,所以我安装了版本1.4.40602.0 Premium Edition以使用Visual Studio 2010 Ultimate(我使用的是Visual C#2010)。创建了一个新项目,但是在项目属性
中没有代码契约选项卡,我得到一个空白选项卡,右边有一条消息,上面写着"尝试加载页面时出错。

I thought it was time I tried out Code Contracts, so I installed version 1.4.40602.0 Premium Edition to work with Visual Studio 2010 Ultimate (I'm using Visual C# 2010). Created a new project, but instead of a Code Contracts tab in the project properties I get a blank tab with a message on the right that says "An error occurred trying to load the page.

无法创建设计器。  文件已在不兼容的编辑器中打开。"
Unable to create the designer.  File is already opened in an incompatible editor."

推荐答案

您好,

您从哪里下载安装人员来自? 试试这个,如果你还没有:

Where did you download the installer from?  Try this one, if you haven't already:

http://download.microsoft.com/download/B/2/A/B2AC27BD-B797-402D-A02D-1263FBA157FA/Contracts.devlab9ts.msi

我从这个页面的下载按钮下面得到了链接:

I got the link from this page, under the download buttons:

http://msdn.microsoft.com/en-us/devlabs/dd491992

- 戴夫


这篇关于我根本无法获得Code Contracts的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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