Versioning in Visual Studio 2010?

After a few searches on the SO, Google, and MSDN forums, I was disappointed that there was so little information about what might seem obvious, and perhaps a dumb question.

I need to use the source control in Visual Studio 2010 Professional. I do not have a separate Team Foundation Server 2010. Have some people mentioned SourceSafe? I have not seen a single SourceSafe inside Visual Studio 2010, to be honest.

What are the alternatives (preferably free) for version control in Visual Studio 2010? Or is it already integrated into Visual Studio 2010 that I'm so blind that I missed it?

Update # 1: Thanks everyone, I will go with SVN, in particular AnkhSVN for Visual Studio 2010.

Update 3/23/2011 . Almost a year has passed since I asked this question. I highly recommend using Mercurial or Git for Subversion. Thus, for those of you who are looking for a version control system for Visual Studio 2010, look no further than Git or Mercurial extensions from the Visual Studio extension library.

Update 5/16/2013 : now I highly recommend that you use Git on top of Mercurial, TFS, or SVN. Take a look at Try GitHub in a browser to see how awesome it is!

enter image description here

+45
git version-control visual-sourcesafe visual-studio-2010 visual-studio-2012
Jul 14 '10 at 8:02
source share
5 answers

See: List of version control systems with Visual Studio plugins




Visual Studio is just an IDE. You can use any version control solution you want with it. Any open source source control solution, in particular git, mercury (hg) or disruptive (svn). And there are commercial products like Perforce or SourceGear Vault. See here for an exhaustive list and google for more information.

You can find Visual Studio plugins that integrate it with any control. Open source subversion is particularly important in this regard. Commercial usually come with this integration.

And if you are not using the original control, which requires that you explicitly check the files to edit them (for example, VSS or TFS), IDE integration is not even needed. I personally prefer to use git or subversion from outside the IDE.




And please stay as far away as possible from Visual SourceSafe .

+17
Jul 14 '10 at 8:12
source share

I use Ankh SVN along with Subversion on the server side and it works great for me. Mercurial and Git are more popular than SVN recently, although there is also Visual HG , the Mercurial plugin for Visual Studio.

Edit: Meanwhile, I switched to Mercurial (Tortoise HG plus Visual HG) and never looked back. It will take several hours to get used to Mercurial if you came from Subversion, but after that it is a really easy breeze. Even if you don't need distributed CVS, Mercurial still has many nice features that are not available in Tortoise SVN. In addition, it looks pretty stable, especially regarding branching.

+7
Jul 14 '10 at 8:19
source share

As @Tomek suggested using Subversion.

Check out this post to help you use subversion and AnkhSVN (VS plugin) with VS2010

Visual Studio 2010 Subversion with AnkhSVN

+2
Jul 14 '10 at 8:18
source share

Let me add another option to the list of SCMs integrated with Visual Studio 2010: Plastic SCM . You can check how it looks here .

Community Edition is available there.

+2
Jul 25 '10 at 13:45
source share

I have used Subversion and Mecurial for projects, and both of them made me remember that I work with very hateful (for good reason) Visual Source Safe. Both will "work", but both will show their unix-programmer roots (no pun intended) with cryptic error messages and dumb, black magic. Source control should be simple, reliable and stay away. Neither SNV nor Mecurial are suitable. Mecurial is easier to use if nothing happens - approximately 80% of the time.

If you work only one developer, I would use Mercurial.

Here is an example of why I hate them:

clicking on Z: \ Repos \ SupplierAdminWebRepo searching for changes new remote heads on the default branch [Error: abort: push creates a new remote head 9cfbad6249a9!] new remote control 9cfbad6249a9 [Error: (did you forget to merge? Use push -f to to force)]

[Operation completed. Release Code: 255]

-2
Aug 30 '12 at 19:34
source share



All Articles