最新的合同下载导致VS2010 Beta 2无法加载项目 [英] Latest Contracts download causes VS2010 Beta 2 to fail loading projects

查看:71
本文介绍了最新的合同下载导致VS2010 Beta 2无法加载项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚下载了最新的合同内容,现在我的VS 2010 Beta 2将不会加载任何项目,即使那些没有合同的项目。 我得到了进口项目"C:/MsBuild/v4.0/Microsoft.CodeContracts.targets"没找到。 确认< Import>中的路径声明是正确的,并且该文件存在于磁盘上。

即使在尝试创建新项目时我也会得到这个。 我将尝试卸载代码合同的东西,看看我是否可以重新开始工作了......

这解决了负载问题,但当然我现在不能正确使用合同。

I just downloaded the latest contracts stuff and now my VS 2010 Beta 2 won't load any projects, even those with no contracts in them.  I get

The imported project "C:/MsBuild/v4.0/Microsoft.CodeContracts.targets" was not found.  Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

I get this even when trying to create a new project.  I'm going to try uninstalling the Code Contracts stuff and see if I can start working again...

That fixed the load problem, but of course I can't use contracts properly now.

推荐答案



您确定在安装前关闭Visual Studio吗?

无论如何,请尝试重新启动计算机安装CC后。

- 戴夫
Hi,

Did you make sure to close Visual Studio before installing?

Regardless, try rebooting your computer after you install CC.

- Dave


这篇关于最新的合同下载导致VS2010 Beta 2无法加载项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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