Source Versioning has always been one of the great benefits available to software developers. In this tutorial, I will tell you how you can configure your local machine and visual studio to utilize power of source versioning. We’re going to work with VisualSVN, the windows alternative of Apache Subversion for linux.
If you wish to know about how to configure a VisualSVN server on windows local machine, you can read this article.
Now that we have configured VisualSVN server on local windows machine, we’ll now take a look at how to use the source code versioning with Visual Studio.
Visual Studio doesn’t come with inbuilt support for using SVN. It provides inbuilt support for Team Foundation Server, the project tracking system from Microsoft.
Therefore, we need to install third party extension to use SVN with visual studio. There are many extensions available. There is also VisualSVN extension for the same. For simplicity we are going to use AnkhSVN extension. You can download it here.
Run the installer to install the extension. The following screens show the various windows during installation.
Now that extensions have been installed we need to tell Visual Studio about this. We are going to use Visual Studio 2010 however the procedure is same for previous versions.