TFS - 已添加具有相同密钥的项目 [英] TFS - An item with the same key has already been added

查看:58
本文介绍了TFS - 已添加具有相同密钥的项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


需要删除一个团队项目中的分支,因此运行此命令: tf destroy $ / MyProject / Main / Bin / collection:http:// servername :8080 / tfs / myproject


命令已经完成,但是现在当我打开visual studio时,我收到多条错误信息相同,说


已添加具有相同密钥的项目


SO上的大多数解决方案建议清空我已经完成了AppData下的缓存文件夹 - 在我的情况下没有帮助。


现在我无法在我的收藏中打开任何团队项目。所有这些都是因为我从命令行中删除了一个团队项目中的一个分支!



  • Microsoft Visual Studio Professional 2015版本14.0.25431.01更新3
  • Team Foundation Server 2015版本14.102.25423.0(Tfs2015.Update3)




此操作永远不会完成,停留在"工作......"


解决方案

重新制作g工作区到新的本地文件夹解决了问题。



https://stackoverflow.com/a/44559230/1541224


Needed to delete a branch in one team project so ran this command: tf destroy $/MyProject/Main/Bin /collection:http://servername:8080/tfs/myproject

The command completed but now when I open visual studio I get multiple errors with same message, saying

An item with the same key has already been added

Most solutions on SO recommend emptying out the cache folder under AppData which I've already done - does not help in my case.

Now I cannot open any team project in my collection. All because I deleted one branch in one team project from command line!

  • Microsoft Visual Studio Professional 2015 Version 14.0.25431.01 Update 3
  • Team Foundation Server 2015 Version 14.102.25423.0 (Tfs2015.Update3)

And this operation never completes, stuck at "Working..."

解决方案

Remapping the workspace to a new local folder resolved the issue.

https://stackoverflow.com/a/44559230/1541224


这篇关于TFS - 已添加具有相同密钥的项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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