TFS 错误:无法确定此解决方案的工作区
当尝试对 Visual Studio 2010 ALM 项目上的项目进行“联机”时,我收到此错误。
该项目以前连接到 Team Foundation Server (2010) 上的团队项目,但我必须重新安装 SQL Server 和 TFS 安装,我猜所有这些信息都被删除了。
现在,我试图将该项目放入 TFS 上的新团队项目中,TFS 给了我这个错误。
有什么想法吗?
谢谢。
I get this error when trying to "Go Online" with a project on a Visual Studio 2010 ALM project.
The project was previously connected to a team project on Team Foundation Server (2010), but I had to reinstall both the SQL Server and the TFS installation and I guess all that information was deleted.
Now, I'm trying to get the project into a new Team Project on TFS, and the TFS gives me this error.
Any ideas?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
我最终要做的就是在 Visual Studio 2010 IDE 中重新映射工作区。
What I ended of having to do was re-map the workspace within the Visual Studio 2010 IDE.
更改新工作区文件夹的路径对我来说不是一个选择,因为源代码控制存储库太大而无法再次下载。
我所做的是重新绑定解决方案中的项目。为此,
请转到文件->;源代码控制 ->高级->更改源代码控制
Visual Studio 会警告您所有项目的绑定将被删除,单击“确定”。
之后,再次单击“更改源代码控制”,所有项目的列表将显示为未连接。选择之前受源代码控制的项目,然后为每个项目单击“绑定”。
希望绑定能够自动设置。
Changing the path for a new workspace folder was not an option for me since the source control repository was way too large to download again.
What I did was re-binding the projects within the solution. In order to do this,
go to FILE -> Source Control -> Advanced -> Change Source Control
Visual Studio will warn you that the binding of all projects will be removed, click ok.
After that click on the 'change source control' again and the list of all projects will appear as not connected. Choose the projects which were previously source controlled and click on 'bind' for each one.
Hopefully the bindings will be set automatically.
我遇到了同样的问题,但我不得不删除“solution”.suo 文件 -
I had the same problem but I had to delete the 'solution'.suo file-
您必须重新绑定到源代码管理中。首先通过单击“文件”->“取消当前项目与 TFS 的关联”源代码控制 ->更改源代码控制。
然后从文件->源代码控制 ->单击将网站/解决方案添加到源代码管理。
You have to rebind into the source control. First disassociate current project from the TFS by clicking on File-> Source Control -> Change Source Control.
And after that From File-> Source Control -> click on Add Website/Solution to Source Control.
要解决此错误文件->打开->网站->从左侧面板中单击“源代码管理”并选择特定的 TFS 项目。
选择特定文件夹后,单击“作为 IIS 网站运行”复选框。
To resolve this error File->Open-> Website -> From the left panel click on Source Control and Select specific TFS project.
After selecting specific folder, click on "Run as IIS Website" checkbox .