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.
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.
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.
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.
You can use VisualSVN or AnkhSVN to integrate into Visual Studio.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With