Subscribe by Email

Your email:

Blog Updates

Get the latest Codesion blog articles on your site.

Now on Twitter!

Current Articles | RSS Feed RSS Feed

Subversion Visual Studio integration guide

Posted by Mark Bathie on Tue, Dec 01, 2009
Submit to Digg digg it | Submit to Reddit reddit | Add to delicious delicious | Submit to StumbleUpon StumbleUpon | Share on Facebook Facebook | Share on Twitter Twitter | Share on LinkedIn LinkedIn 

    This is a guide to help you get started integrating Subversion with Visual Studio and connecting it to a CVSDude hosted Subversion repository. CVSDude uses a popular Visual Studio plugin called AnkhSVN to bring the power of Subversion version control to developers working in the Microsoft Visual Studio environment. Below the video is a written step-by-step guide.



This guide was written for Visual Studio 2010.

Step 1:

Install AnkhSVN

a) Go to the Downloads page and download AnkhSVN

b) Run the Downloaded Installer

c) Open up Visual Studio

Step 2:

Create a CVSDude project and add the Subversion service.

Step 3:

Add Visual Studio to CVSDude Subversion Account

a) Open Visual Studio 2010 and browse to the solution/project that you wish to add to your subversion enabled CVSDude account. Once the solution/project is open, select the solution/project from the Solution Explorer, right click and select "Add Solution to Subversion".

 

Fig 1:  Adding your solution to Subversion

 

b) Enter in the Subversion URL (fig 3) to your repository you created in Step 1. To locate your repository URL (fig 2), login to the CVSDude admin site and click on Projects -> Select your project -> Copy the Subversion URL under the project quickview heading. If you don't see the Subversion URL, then make sure you've added the Subversion service to your CVSDude project.

 

Fig 2: locating your Subversion URL in the CVSDude admin site

 

Fig 3: adding your Subversion URL to Visual Studio

 

c) Enter your username and password and click OK.

d) Enter your commit message

Fig 4: Final step in connecting Visual Studio

 

e) You can now see that all the files have the subversion lock status icons against the files that were added to your repository from the previous step.

Enjoy your coding!

 

Further reading:

For more information relating to the usage of the AnkhSVN plug-in for Visual Studio, see the AnkhSVN documentation

 

 


Tags: , ,

COMMENTS

Does anyone know if AnkhSVN supports BIDS projects or not? I switched to VisualSVN due to lack of BIDS support in earlier versions of Ankh as well as the VisualSVN team's rapid response to this issue when I presented it to them.

posted @ Wednesday, December 16, 2009 12:08 PM by Bryant


BIDS (Business Intelligence Development Studio) is a cut of Visual Studio which comes packaged with Microsoft SQL Server 2008. I've tested AnkhSVN (AnkhSvn-2.1.7444.278) with BIDS (in SQL Server 2008) and have been able to update and commit just fine. Perhaps try with the latest version?

posted @ Sunday, December 20, 2009 11:55 PM by Mark Bathie


Post Comment
Name
 *
Email
 *
Website (optional)
Comment
 *

Allowed tags: <a> link, <b> bold, <i> italics

Receive email when someone replies.