在Visual Studio 2013中更改TFS源代码管理映射 [英] Change TFS source control mapping in Visual Studio 2013

查看:447
本文介绍了在Visual Studio 2013中更改TFS源代码管理映射的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有多个以前映射到托管TFS的解决方案.还定义了它们的本地映射,并且所有源代码都是本地最新的.此后,我停止了TFS订阅,并开始使用visualstudio.com作为我的TFS服务器.

I have multiple solutions that were previously mapped to a hosted TFS. Their local mapping was defined as well and all the source code was up-to-date locally. I have since discontinued my TFS subscription and started using visualstudio.com as my TFS server.

我进入了一种解决方案,从解决方案中删除了* .vssscc文件,并从每个嵌套项目中删除了* .vspscc文件.当我在VS 2013中打开解决方案时,输出窗口会显示一条消息,指出原始TFS(现在已取消订阅)不可用,并且该解决方案已脱机打开.

I went into one of the solutions, deleted the *.vssscc files from the solution and the *.vspscc files from each nested project. When I open the solution in VS 2013, the output window gives me a message saying the the original TFS (unsubscribed now) is not available and that the solution is open offline.

结果,当我选择更改源代码控制"选项时,它首先要求我登录到其凭据不再有效的旧TFS.

As a result, when I choose the "Change source Control" option, it first asks me to log in to the old TFS whose credentials are no longer valid.

此外,它告诉我我要映射到新TFS的本地目录已经映射到旧TFS.如何在不访问旧的TFS的情况下删除此映射?

Furthermore, it tells me that the local directory I am trying to map to the new TFS is already mapped to the old TFS. How can I remove this mapping without having access to the old TFS?

推荐答案

当旧的TFS服务器可用时,这里的答案起作用.我的不是,但尚未从VS的服务器列表中删除.删除该条目使我可以将解决方案连同映射一起从源代码管理中完全删除,并将其添加到另一个源代码管理服务器中.

The answers here work when the old TFS server is available. Mine wasn't but has not been removed from the server list in VS. Removing that entry allowed me to remove the solution from source control entirely along with the mapping and add it to another source control server.

这篇关于在Visual Studio 2013中更改TFS源代码管理映射的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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