该项目已在所选位置的源代码管理下 [英] The item is already under source control at selected location
问题描述
我很绝望,我整天都在解决这个问题,请问如何将 Visual Studio 解决方案添加到 TFS 中?我创建了一个名为 PROJECTX 的全新项目,我有一个名为 PROJECTX.sln 的解决方案.我选择 File >源代码管理将解决方案添加到源代码管理
但我立即收到此错误
I am desperate, I spend all day with this issue, please how can I add Visual Studio solution to the TFS ? I created total new project named for example PROJECTX and I have solution with the name PROJECTX.sln. I select File > Source Control > Add Solution To Source Control
but immediately I get this error
我还在 TFS 中删除并重新创建了同一个项目,我的解决方案没有任何 .vssscc
文件,因此我认为它之前不在 TFS 中,也许是其他一些副本,但是当我删除时在TFS的项目应该没有关系吧?我尝试了绑定/解除绑定选项,但似乎我不明白一些重要的事情.此外,我没有任何待处理的更改,并且 TFS 服务器上的 TFS 项目为空.
I also deleted and recreate the same project in TFS and my solution has not any .vssscc
files, therefore I think it wasn't in the TFS before, maybe some other copy but when I deleted the project at the TFS it should not matter ? I tried bind/unbind option, but it seems that i dont understand something important. Also I don't have any pending changes and the TFS project is empty on the TFS server.
如果我选择全部忽略"选项,我将无法签入文件,因为它告诉我它已经被选中但它没有被选中!?
If I select the Ignore All option, I cant check in the files, because it tells me it is already checked but it is not !?
推荐答案
我通过将项目文件夹复制到本地 tfs 工作区之外的新 windows 文件夹解决了这个问题.
I solved this issue by copying the project folder to the new windows folder outside of local tfs workspace.
这篇关于该项目已在所选位置的源代码管理下的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!