Visual Studio 2012 未与 TFS 资源管理器正确集成 [英] Visual Studio 2012 not integrating properly with TFS explorer
问题描述
当我在解决方案资源管理器中拖动文件时,我希望 TFS 执行匹配的移动.它没有.同样,如果我重命名文件/添加/删除,我必须在 TFS 资源管理器中重复该操作.它们是两个独立的程序,巧合地位于同一个 shell 中.
When I drag a file in Solution Explorer I expect TFS to perform a matching move. It doesn't. Similarly if I rename a file/add/delete I have to repeat the operation in TFS explorer. They are two separate programs that inhabit the same shell by coincidence.
我可以让他们一起玩得更好吗?回到过去,我记得有一个 Source Control Bindings 对话框.我在 VS2012 中找不到.
Can I get them to play better together? Back in the old days I recall a Source Control Bindings dialog. I cannot find that in my VS2012.
全面披露.我在这台机器上同时使用 TFS 和 SVN/Ankh.我经常换工具|选项 |源控制在两者之间交换.似乎与此问题无关.
Full disclosure. I use both TFS and SVN/Ankh on this machine. I frequently change Tools | Options | Source Control to swap between the two. It does not seem connected to this problem.
推荐答案
我找到了源代码控制绑定"对话框.档案 |源代码管理 |高级 |更改源代码管理.关键是在查看源代码管理资源管理器选项卡时看不到此菜单项.我打开了一个代码文件来访问它.
I found the Source Control Bindings dialog. File | Source Control | Advanced | Change Source Control. The crucial part is that you do not see this menu item when you are looking at the Source Control Explorer tab. I opened a code file to get to it.
在对话框中,我发现解决方案以及项目并未绑定到源代码管理.它们(TFS 和 Visual Studio)实际上是共享一个通用外壳的两个独立应用程序.一旦绑定到源代码控制,事情就会按照我认为应该的方式进行集成.
Once in the dialog I discovered that the solution, and hence the projects, were not bound to source control. They (TFS and Visual Studio) really were two independent applications sharing a common shell. Once bound to source control things are integrated as I think they should be.
这篇关于Visual Studio 2012 未与 TFS 资源管理器正确集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!