title: How to specify the source control plugin on a per-solution basis in Visual Studio?
body: <p>I just installed <a href="http://ankhsvn.open.collab.net/" rel="noreferrer">AnkhSVN</a> to have subversion support from within Visual Studio 2010.
  I noticed I had to go to <em>Tools > Options > Source Control</em> to select the current source control plugin.</p>
  
  <p>At the moment, I'm working on multiple projects using different version control systems. For instance, I also have some projects in Mercurial, for which a VS source control <a href="http://visualhg.codeplex.com/" rel="noreferrer">plugin is available</a>.</p>
  
  <p>Is there any way to specify the source control plugin on a per-solution basis? Or can VS detect the used vcs automatically? What are the best practices in this respect?</p>
  
  <p><em>Edit: a google search led me to <a href="https://stackoverflow.com/questions/5994009/how-to-configure-visual-studio-to-use-diferent-source-control-providers">How to configure Visual Studio to use different source control providers</a> and <a href="https://stackoverflow.com/questions/470134/can-perforce-and-sourcesafe-co-exist-in-visual-studio">Can Perforce and SourceSafe co-exist in Visual Studio?</a></em>. Both cover the same ground, but appear to be specific to specific vcs and lack a satisfying general answer. I'm looking for a general answer here.</p>