8
5
Work uses SVN. I want to use GIT for private use. I was also exploring TFS, but it doesn't seem to cooperate with multiple collections, so I stopped looking into it.
Currently I use AnkhSVN. I want to switch between it and the Microsoft GIT, on a per-solution basis.
My question is... how do you smoothly use SVN on one project, git on the next, maybe even TFS on a third project (if I decide to look into it again)? Mercurial? etc
How do you manage switching between those stacks easily in Visual Studio, because it doesn't seem like it's made for easy transition between technologies or configuring Solution A for SVN and Solution B for GIT.
The only way I know is to use options and switch manually between technology stacks.
Options: Source Control
@Ramhound OP says he wants to use Git in ONE SOLUTION and subversion in ANOTHER SOLUTION. What is weird with that? I'm f***ing surprised it can't be configured per-solution o.o – Áxel Costas Pena – 2014-10-22T14:17:44.417
@ÁxelCostasPena very professional response you made there... – Ramhound – 2014-10-22T15:21:06.403
@Ramhound I'm mainly on VS2013 and this question does focus on that (although, the same thing applies to previous version). The issue is that you have to manually change the source control and restart Visual Studio every... single... time... you want to switch. VS2013 doesn't seem to like supporting multiple Version Control systems at the same time. SVN for work, Git for person, HG for school, etc... It'd be nice to not have to dig into settings, restart, dig, restart, rinse, lather repeat. It's made me curse on an occasion or two. I've mainly settled on explorer drop down menu's. – WernerCD – 2014-10-22T15:35:02.917
I still maintain your use case is an edge case be sure to submit your feedback to MS for VS.Next though but VS2013 is unlikely to get this – Ramhound – 2014-10-22T15:40:45.430
I understand, was thinking the same thing, and agree more so now that I'm looking back at the question. Often there are work-arounds to edge cases like mine (like me simply using Explorer and TortoiseGit/Svn/Hg drop down mouse-menu's in place of Visual Studios built in Source Control option). – WernerCD – 2014-10-22T15:44:46.817
I am almost postive Visual Studio has add-ons for both SVN and GIT. That would be the best way. – Ramhound – 2014-05-07T17:52:27.973
@Ramhound VS comes with TFS & GIT built in. And I use AnkhSVN for SVN integration. But to switch, as far as I know, involves tools > options > Source Control > Switch. So it's VS wide. My question is how does someone work inside VS if they have different source controls to work in. – WernerCD – 2014-05-07T17:55:24.860
VS2013 does previous versions required a plugin. What is the problem with switching your source control? Your case is an edge case most people don't put projects under different source control under a single visual studio solution. In the future you should indicate within the question body itself the version of the software. Most people don't use tags properly so 99% of the time I don't even bother looking at the tags. – Ramhound – 2014-05-07T18:05:05.117