Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the best way to use SVN in Visual Studio 2010 solution

Can anyone recommend the best way to use version control system in Visual Studio 2010. I'm currently working on a asp.net mvc 2 web application and want to use version control system.

A SVN repository has been setup, and internaly in my company they use Tortoise. I have no issues in using Tortoise, but I wondered if there was a plugin or better way of using svn with Visual Studio.

Best practices, recommendations on other tools (ex: ankhsvn) are all welcome.

like image 686
Kennethvr Avatar asked Oct 29 '10 07:10

Kennethvr


People also ask

How do I add VisualSVN to Visual Studio?

Open or create new solution in Visual Studio. Then choose Add Solution to Subversion from the VisualSVN menu command and the wizard will open. Now you choose the directory where your code will be stored. VisualSVN can add your code to a new or an existing repository.

What is SVN in Visual Studio?

VisualSVN is a transparent integration of the Subversion version control system to the Visual Studio development environment. VisualSVN allows you to take full control on any changes in the project that are made by you or your colleagues.

How do I checkout code in SVN Visual Studio?

You can checkout a SVN repository with the SVN: Checkout command in the Command Palette ( Ctrl+Shift+P ). You will be asked for the URL of the repository and the parent directory under which to put the local repository.


2 Answers

You can use VisualSVN or AnkhSVN to integrate into Visual Studio.

like image 181
Giorgi Avatar answered Sep 17 '22 11:09

Giorgi


Tortoise SVN works on the file system, whereas Ankh SVN adds similar functionality to the Solution Explorer in Visual Studio.

For this reason, I am currently using both.

like image 41
Fenton Avatar answered Sep 20 '22 11:09

Fenton