Connecting to a TFS server closes a Git solution

2019-03-19 07:27发布

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.

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.

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.

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

1条回答
趁早两清
2楼-- · 2019-03-19 08:11

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.

查看更多
登录 后发表回答