问题描述
当我尝试从TFS源代码控制加载VS 2008项目时收到此错误:
I get this error when I try to load a VS 2008 project from TFS source control:
单击确定"后,项目将显示不可用".问题是什么?我该如何解决?我以前从未遇到过这个问题.一些博客说要删除.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.
这篇关于项目文件已被重命名或不在您的计算机上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!