连接到TFS服务器将关闭Git解决方案 [英] Connecting to a TFS server closes a Git solution

查看:111
本文介绍了连接到TFS服务器将关闭Git解决方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Visual Studio 2013和新的内置Git支持。我们的项目在TFS 2010中进行管理,但由于惯性/固执,我使用 git-tfs 进行源代码管理。我仍然使用TFS问题跟踪器等。

I'm using Visual Studio 2013 with the new built-in Git support. Our project is managed in TFS 2010, but because of inertia/stubbornness, I use git-tfs for source control. I still use the TFS issue tracker etc.

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

In VS2012, this worked fine - VS just saw the solution as not being under any supported source control, and let me work with TFS work items just fine. In VS2013 however, the project is detected as being managed under Git. This makes VS's TFS integration pretty much unavailable.

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

This means that I'm not connected to the team project when working on my solution. When I connect to TFS, the solution gets closed. Vice versa - reopening the Git-managed solution closes any work item queries I had open and disconnects me from TFS.

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

Is there any way to work around this? Disabling the built-in Git support, or a setting I missed?

推荐答案

VS团队意识到问题

VS Team is aware of the problem :


允许用户禁用自动提供者切换是我们正在考虑的事情。当我们添加Git支持时,我们考虑了Git-TF用户,并针对使用希望使用Git工具的开发人员进行了优化。副作用是您不能轻松使用TFS团队项目。

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.

这篇关于连接到TFS服务器将关闭Git解决方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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