如何为 Visual Studio 2008 设置默认的源代码管理插件?

发布于 2024-07-06 10:51:30 字数 340 浏览 11 评论 0原文

我们最近安装了 Team Foundation Server 2008,并将其用于 Visual Studio 2008 代码和 Visual FoxPro 9 代码,我们仍在将其迁移到 .Net。 我必须安装 TFS MSSCCI 提供程序才能从 VFP9 IDE 获取连接。 这工作正常,但 Visual Studio 现在似乎对使用哪个源代码管理插件感到困惑,并不断恢复到 TFS MSSCCI 提供程序,而不是随团队资源管理器安装的“Visual Studio Team Foundation Server”插件。 当插件更改时,我在尝试从 TFS 获取/签入代码时收到错误。 如何让 Visual Studio 将团队资源管理器插件保留为默认插件?

We recently installed Team Foundation Server 2008 and we are using it for both Visual Studio 2008 code and Visual FoxPro 9 code that we are still migrating to .Net. I had to install the TFS MSSCCI provider to get connectivity from the VFP9 IDE. That works fine, but Visual Studio now seems to get confused about which source control plug in to use and keeps reverting to the TFS MSSCCI provider instead of the "Visual Studio Team Foundation Server" plugin that installed with Team Explorer. When the plug in changes, I get errors when trying to get/check in code from TFS. How can I get Visual Studio to keep the Team Explorer plug in as my default?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

不知在何时 2024-07-13 10:51:30

事实证明,在从 VSS 迁移到 TFS 的过程中,源代码管理绑定未进行转换。 重新绑定解决方案解决了问题。

所以,问题并不是 VS 没有保留我的默认选择。 它只是根据我尝试打开的解决方案文件上的绑定更改源代码管理插件。

Turns out that the source control bindings were not converted as part of the move from VSS to TFS. Re-binding the solutions solved the problem.

So, the problem really wasn't that VS wasn't keeping my default selection. It was just changing the source control plug-in based on the bindings on the solution file that I was trying to open.

2024-07-13 10:51:30

您是否尝试过将 VS 2008 使用的源代码控制插件切换到 TFS? 您可以在“工具”>“选项”>“源代码管理”下找到该选项。 它似乎没有默认设置选项,但如果设置后关闭 VS,它应该会保存该值。

祝你好运。

Have you tried switching which source control pluggin VS 2008 is using to TFS? You can find the option under Tools>Options>Source Control. It does not appear to have a default setting option but it should save the value if you close VS after setting it.

Good Luck.

清秋悲枫 2024-07-13 10:51:30

从 VS2008 工具菜单:
VS2008->工具-> 选项-> 源代码控制 -> 插件选择-> 选择您想要的插件。

From VS2008 Tools menu:
VS2008->Tools -> Options -> Source Control -> Plug-in Selection -> Choose the plug-in you want.

失去的东西太少 2024-07-13 10:51:30

@smaclell,@Vivek - 是的,我已经尝试过了,它适用于当前会话,但下次我打开视觉工作室时它会恢复。

我还看到一个帖子建议我改成None,然后关闭VS,然后改成TFS并关闭VS。 这似乎导致默认设置为 None,但当我尝试从 TFS 打开解决方案时,它实际上又恢复为使用 MSSCCI 提供程序。

我将尝试对团队资源管理器安装进行修复。 我认为我在 Team Explorer 安装之后安装了 MSSCCI 提供程序,也许这个顺序把事情搞定了。

@smaclell, @Vivek - Yes, I've tried that and it works for the current session, but the next time I open visual studio it reverts back.

I also saw a post that suggested that I change it to None, then close VS, then change it to TFS and close VS. That seemed to cause the default to stick on None, but when I tried to open a solution from TFS, it actually reverted to using the MSSCCI provider again.

I'm going to try doing a repair on the Team Explorer install. I think that I installed the MSSCCI provider after the Team Explorer install and maybe the sequence hosed things up.

从﹋此江山别 2024-07-13 10:51:30

好吧,我刚刚得到了同样的答案,并且我想我已经解决了。 您必须以管理员身份更改它。

于是,我右键以管理员身份启动VS2013,将SCC插件设置为None,退出。
然后同样的方式启动,改成AnkhSVN,退出。

当正常启动时,现在有正确的 SVN 默认值,而不是 TFS!

OK, I just had the same answer, and think I solved it. You have to change it as Administrator.

So, I right-click started VS2013 as admin, set SCC plug-in to None, exited.
Then started in same way, changed to AnkhSVN, exited.

When started as normal, now have correct SVN default, not TFS!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文