views:

239

answers:

6

After doing some search on SO, Google and MSDN forums I've become frustrated that there is so little information for what might seem like an obvious question and possibly a dumb question.

I need to use source control in Visual Studio 2010 Professional. I do not have separate Team Foundation Server 2010. Some people have mentioned SourceSafe? I haven't seen any SourceSafe inside of the Visual Studio 2010 to be honest.

What are some alternatives (preferably free) for source control in Visual Studio 2010? Or is it already integrated in Visual Studio 2010 that I am so blind to have missed that?

EDIT: Thank you everyone, I will go with SVN, in particular AnkhSVN for Visual Studio 2010.

+5  A: 

See: http://stackoverflow.com/questions/2653379


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

You can find Visual Studio plugins that integrate it with any source control. Of open source ones subversion is especially rich in this regard. Commercial ones usually come with this integration.

And if you are not using source control that requires you to explicitly check-out files to edit them (like VSS or TFS do), the IDE integration is not even essential. I personally prefer to use git or subversion from outside the IDE.


And please, stay as far from Visual SourceSafe as you can.

Tomek Szpakowicz
SourceSafe = Pure Evil.
Andrew Flanagan
@Andrew Flanagan: I believe there was NO bad will at work here. There is no evil in VSS. Just laziness and stupidity.
Tomek Szpakowicz
+1  A: 

As @Tomek suggested use Subversion.

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

Visual Studio 2010, subversion with AnkhSVN

Sandy
Just updated my post for AnkhSVN :)
Silence of 2012
I haven't __suggested__ using subversion. I've only showed pointers to popular alternatives. Actually, if I'd have to recommend something it'd be git or mercurial (depending on your taste, I prefer git). Subversion has for it its relative simplicity and maturity (hence lots of good tools including VS plugins and simply _lovely_ TortoiseSVN). But I don't like it because it can't tell its branch from its folder and simply cannot merge. Not as badly as TFS but still...
Tomek Szpakowicz
+2  A: 

I am using Ankh SVN together with Subversion on the server side and it works fine for me. Mercurial and Git are more popular than SVN lately though and there is also Visual HG, a Mercurial plugin for visual Studio.

Adrian Grigore
There was an amazing post on SO that compares Git vs SVN. I will stick with SVN since it fits my needs just fine! ;)
Silence of 2012
@Rihanna.Rain: Me too, but I took a LOT of heat for recommending SVN last time on SO, I thought I better point out the alternatives as well...
Adrian Grigore
+1  A: 

Dynamsoft SourceAnywhere integrates with VS 2010 well. SourceAnywhere Standalone is 1 user free and SourceAnywhere Hosted provides a 3-user free plan.

Catherine
+1  A: 

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

There's a Community Edition available.

pablo
A: 

it seems that you are not familiar with version control in visual studio 2010. not sure whether this article helps you. http://www.kevingao.net/version-control/version-control-visual-studio-2010.html

Chloe