How to specify a version control plugin for each solution in Visual Studio?

I just installed AnkhSVN to have subversion support from Visual Studio 2010. I noticed that I need to go to Tools> Options> Source Control to select the current version control plugin.

I am currently working on several projects using different version control systems. For example, I also have some projects in Mercurial for which the VS source control plugin is available.

Is there a way to specify a version control plugin for each solution? Or can VS automatically detect which vcs are used? What are the best practices in this regard?

Edit: a google search led me to How to configure Visual Studio to use different source control providers and Can Perforce and SourceSafe coexist in Visual Studio? . Both cover the same base, but seem specific to specific vcs and do not have a satisfactory general answer. I am looking for a general answer here.

+42
version-control visual-studio visual-studio-2010
Nov 29 '11 at 8:32
source share
2 answers

Unfortunately, there is no good answer. Before you open a project, you just need to manually and manually change the source provider settings for the studio. This is a limitation of how this particular plugin system works, and is likely to take a new version of visual studio to specifically solve it.

This is an example where a visual studio works better for a corporate store with standardized version control tools, rather than for a contractor working with several clients across the entire spectrum of technologies.

+25
Jan 30 2018-12-12T00:
source share

Automatic switching of the source control provider based on the availability of a reserved directory can be performed with the VS extension, as described here .

+6
Jun 19 '14 at 22:31
source share



All Articles