Latest

Setting up a Subversion plug-in for Visual Studio 2008/2010

For Microsoft Visual Studio 2005, 2008, 2010 and 11 beta

Installation (2.1+)
 AnkhSVN 2.3.11269

  • Download AnkhSVN from  above download link. 
  • AnkhSVN is a free Subversion Client.
  • Run the AnkhSVN installer package (It automatically updates any previous versions).

Start using AnkhSVN from Visual Studio
Using an existing solution with AnkhSVN 2.1
  • Open your solution
  • If you are the first AnkhSVN 2.1 user of this solution
    • If glyphs do not appear automatically choose Tools -> Options -> Source Control and make sure AnkhSVN is the active source control provider.
  • Verify if the solution is connected to AnkhSVN
    • Right click the solution file. If you have an option that says 'Add to Subversion', your Solution is not connected yet
    • Click Add to Subversion and confirm adding the binding
    • If your project is not in an existing workingcopy you are now asked where to store your project
  • If some of the projects do not show glyphs
    • Check if the projects are connected in File -> Subversion -> Change Source Control
    • Make sure that at least the Solution and the projects missing glyphs are connected
      (Many project types do not require explicit binding)

Check out a Solution from Subversion
Using Open from Subversion
  • Select File -> Open -> Subversion Project
  • Choose a Url from the dropdown or click the globe icon to add a url
  • Browse to the solution of your choice
  • Click OK
  • In the next dialog select a local folder to store the project
  • Click OK and the solution will open automatically
Via the Repository Explorer 
  • Select View -> Repository Explorer.
  • When the tool window appears, choose the Plus-Folder icon to add your repository path and click OK.
  • Browse to the solution you would like to check out, right-click and choose Checkout Folder.
  • Browse to the location where you keep your working copy and press OK (you may need to create a directory first).
  • Open the solution inside Visual Studio. You will be asked whether to enable AnkhSVN for this solution, choose Yes.

No comments