Visual Studio for Mac is replacing Xamarin Studio

How do I setup a local Subversion repository using Xamarin Studio on OS X?

PDF for offline use

Let us know how you feel about this

Translation Quality


0/250

To work with a Subversion (SVN) version control in Xamarin Studio (Mac), you can use the following steps to connect your project to an svn repository on your local machine:

  1. Create an SVN repository form the command line with:

    svnadmin create /path/to/repository

  2. Open or start a Xamarin Studio Project.

  3. Right click on the solution and select Version Control > Publish. The project will stay in the same place, so if you want it within the repository directory, make sure your project/solution directory is in the svn repository you created in step 1.

  4. Select Subversion for the top drop down.

  5. Select file for Protocol.

  6. In the Url field, enter the absolute path to the repository root folder, the same you created in step 1, /path/to/repository.

  7. Click OK.

  8. You should now see all of the version control commands available in the version control menu.

Just change the protocol (step 5) and Url (step 6) to publish to a remote repository.

You will need the Xcode command line tools installed, which should install automatically. You can check if you have SVN installed in Terminal with the command:

svn h

Xamarin Workbook

If it's not already installed, install the Xamarin Workbooks app first. The workbook file should download automatically, but if it doesn't, just click to start the workbook download manually.