源控制提供商不在VS2012中自动切换? [英] Source Control provider not switching automatically in VS2012?

查看:64
本文介绍了源控制提供商不在VS2012中自动切换?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!

在所有以前版本的VS中,源控制提供程序在我打开项目时自动切换。

In all previous versions of VS, the source control provider switched automatically when I opened a project.

现在,使用VS2012,当我上次使用例如Ankh SVN或VSS 6d并打开TFS2012项目时,它只是抱怨该项目要么不在SC下了,或正在使用"另一个提供者"配置的那个。要获得"返回",我切换到TFS2012和
我必须重新绑定所有项目。

Now, with VS2012, when I last used for instance Ankh SVN or VSS 6d and open a TFS2012 project, it just complains that the project either isn't under SC anymore, or is using "another provider" that the configured one. To get "back", I switch to TFS2012 and I have to rebind all projects.

是否有一些隐藏选项可以"重新启用"自动SC检测/切换,还是刚被杀死的功能?

Is there some hidden option to "re-enable" automatic SC detection / switching, or is the feature just killed?

Lars-Erik

Lars-Erik

Lars-Erik MCPD ASP.NET 2.0

Lars-Erik MCPD ASP.NET 2.0

推荐答案

据我所知,我们应该在VS选项中手动更改VS soruce控件插件,并选择一个源控制插件 - 在当前项目中,VS可以打开并加载项目的特定SC插件。不知道如何让以前版本的VS自动执行
,我检查了VS 2010和2008,它们与VS 2012相同。

As I know, we should change the VS soruce control plug-in manually in VS options, and select one source control plug-in for current project, then VS can open and load the specific SC plug-in for the project. Do not know how to let previous version VS do it automatically, I checked VS 2010 and 2008, they were the same with VS 2012.

下面是我的测试屏幕,我将VS 2010和2012 SC插件更改为AnkhSVN,然后连接到一个TFS服务器以在TFS中打开其SC,但VS显示当前SC插件不是TFS因此无法打开SC:

Below is my test screen, I change the VS 2010 and 2012 SC plug-in to AnkhSVN, and then connect to one TFS server to open its SC in TFS, but VS show the current SC plug-in is not TFS so cannot open the SC:


这篇关于源控制提供商不在VS2012中自动切换?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆