项目文件已移动重命名或不在您的计算机上 [英] The project file has been moved renamed or is not on your computer

查看:18
本文介绍了项目文件已移动重命名或不在您的计算机上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试从 TFS 源代码管理加载 VS 2008 项目时出现此错误:

I get this error when I try to load a VS 2008 project from TFS source control:

项目文件已被移动、重命名或不在您的计算机上

The project file has been moved, renamed or is not on your computer

单击确定"后,项目显示不可用".问题是什么?我该如何解决?我以前从未遇到过这个问题.有些博客说要删除.suo 文件,但我找不到.suo 文件.我删除了本地计算机上的整个项目,以便下次打开它时会创建一个新项目,但我仍然遇到同样的错误.

After I click OK the project says "unavailable". What is the problem? How do I resolve this? I never had this problem before. Some blogs said to delete the .suo file but I can't locate the .suo file. I deleted the entire project on my local computer so that the next time it opens it will create a new one, but I still get same error.

推荐答案

通常有助于修复它的是删除解决方案用户选项,即SUO".

What typically helps to fix it is deleting the Solution User Options aka "SUO".

VS 到 2013 年

在较旧的 VS 中,它作为隐藏"SolutionName.suo 存储在与主 .sln 文件相同的文件夹中.

In the older VS it is stored as a "hidden" SolutionName.suo in the same folder as the main .sln file.

VS2015 或更高版本

在 VS2015 中,相同的数据被移动到与主 .sln 文件相同的文件夹下的隐藏".vs 文件夹.

In VS2015 the same data was moved to a "hidden" .vs folder under the same folder as the main .sln file.

这篇关于项目文件已移动重命名或不在您的计算机上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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