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

a 夏天 提交于 2019-12-09 11:11:38

问题


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?


回答1:


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!




回答2:


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


来源:https://stackoverflow.com/questions/20056832/possible-to-use-git-project-and-see-tfs-work-items-in-vs2013

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!