Adding Subversion support to Visual Studio 2008

Control versioning systems are an essential tool for every programmer and provide very useful options such as keeping different branches of the same project or reverting the source code to a previous version.

In this post I’m going to show you how to set up and integrate Subversion with VS2008.

You need to download the following:

Next you open the SVN manager (Start->Programs->Visual SVN->VisualSVN server manager ) and create a new SVN repository as depicted in the following picture:

VisualSVN

If you don’t change the default options, the repository is created in https://<your-host-name>:8443/svn/<your-repository-name>

Next you install the Ankhsvn plugin. Once the plugin is installed, when you create a new project you are given the option of adding the project to Subversion, as depicted in the following picture:

Visual Studio Subversion

In the next window you specify the location of the previously created repository. (Don’t forget to change the host name and repository name values.)

Visual Studio Subversion 2

After completing these steps, many Subversion options are available through the Solution Explorer view. For instance, you can commit solution changes or revert to a previous version.

Subversion Solution Explorer

Share this post:

  • Print this article!
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
Related posts:
  1. Visual Studio Doxygen Latex and encoding problems
  2. Wordpress Complete Backup Solution

Leave a Reply