Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Possible to use git project AND see TFS work items in VS2013?

So I've upgraded to VS2013, hopefully for all development. One thing really irks me about it though. My team uses TFS, and I prefer git, so I use git-tfs to bridge the two for source control. We use TFS work items for tracking of bugs and stories and such. I prefer GitExtensions to the built-in git support of VS2013 as well, if it matters.

Anyway, When I have a solution open that's under a git-tfs repository, VS2013 will helpfully only show me options for git under the Team Explorer tab. So, when I want to go to a TFS work item query, I have to do Connect Team Project > FooProject, or some such.. VS2013 at this point, very helpfully will close my open solutiopn. So, basically I can't view work items and have a solution open in VS2013 at the same time. This seems like a gross design oversight.

Is there anyway to view work item queries within an instance of VS2013 with a git project open and/or is it possible to just disable Visual Studio 2013's git support altogether, since I prefer GitExtensions anyway?

like image 577
Earlz Avatar asked Nov 18 '13 20:11

Earlz


People also ask

Can I use Git and TFS together?

Introducing git-tfsgit-tfs provides a two-way bridge between a local Git repository and a TFS server. git-tfs allows you to do your local development in a Git repository, and still synchronize your work with a TFS server.

How do I open a TFS works item in Visual Studio?

From Visual Studio 2019 choose Tools>Options. In the Options dialog, enter work items in the search box.


2 Answers

As already said here that's not possible :( I have warned Microsoft about that and that's on their todo list. But when will it be done? We don't know...

For the moment I think that you should use the Web portal...

edit: someone find a way to remove the VS Git plugin. He delete keys in the registry. I highly advice to export theses keys before deleting them in the case you want to restore them in the future!

like image 71
Philippe Avatar answered Oct 01 '22 08:10

Philippe


To avoid having to keep an instance of Visual Studio open just for TFS workitems, I disabled TFS solution integration. This disabled both TFS and Git source control options for solutions, but TFS work items still work fine.

You can disable it by do this:

  1. Tools
  2. Options
  3. Source Control
  4. Change current source control plugin from TFS to None
like image 29
Earlz Avatar answered Oct 01 '22 07:10

Earlz