git - 连接到 TFS 服务器关闭 Git 解决方案

标签 git tfs visual-studio-2013 git-tfs

我正在使用具有新的内置 Git 支持的 Visual Studio 2013。我们的项目是在TFS 2010中管理的,但是因为惯性/固执,我使用git-tfs用于源代码控制。我仍然使用 TFS 问题跟踪器等。

在 VS2012 中,这工作正常 - VS 只是看到解决方案不受任何支持的源代码控制,让我可以很好地处理 TFS 工作项。然而,在 VS2013 中,该项目被检测为在 Git 下管理。这使得 VS 的 TFS 集成几乎不可用。

这意味着我在处理我的解决方案时没有连接到团队项目。当我连接到 TFS 时,解决方案关闭。反之亦然 - 重新打开 Git 管理的解决方案会关闭我打开的所有工作项查询,并断开我与 TFS 的连接。

有什么办法可以解决这个问题吗?禁用内置 Git 支持,还是我错过了设置?

最佳答案

VS Team is aware of the problem :

Allowing users to disable the automatic provider switching is something we're considering. When we added Git support, we thought about Git-TF users and optimized for using the developers wanting to use the Git tools. The side effect is that you can't easily work with the TFS team project.

关于git - 连接到 TFS 服务器关闭 Git 解决方案,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19759215/

相关文章:

javascript - 如何从 ReSharper (javascript) 重命名重构(以及可能的其他操作)中排除文件夹?

android - 编译时编辑 AndroidManifest 以删除 API-key

git - OpenSSH:git@github.com 权限被拒绝

c# - 如何使用 TFS API 2013 获取所有迭代路径

tfs - 编写 TFS 命令行脚本,以编程方式获取最新版本、 checkout 和 checkin

visual-studio - Visual Studio为每个列表创建1个功能

git - 无法连接到存储库 : Error performing command: git. exe ls-remote -h https ://github. com/szabbas/Sample-programs.git HEAD

html - git通过jenkins提交到html文件

visual-studio - 开箱即用的破损 Nuget 包引用

asp.net - Ajax 控制工具包、Visual Studio 2013、Nuget : AjaxControlToolkit. dll 丢失