Thursday, 12 November 2009

HOWTO: Source Control for VMWare Hosted Visual Studio on OSX

I've been wrestling with how to get some notion of backed-up source control for my Visual Studio projects that don't warrant going into the Esendex Team Foundation Server.

Didn't want them to be open source so,, etc were all out and I didn't want to pay any money for a secure service.

Here's what I came up with.

Firstly I discovered that OSX ships with and SVN server, very handy. I followed this link to set it up:

With SVN running locally on the Mac, I could then rely Time Machine to make sure my source code was backed up.

Then downloaded the Ankh SVN plugin for Visual Studio so I could use and SVN repository.

So far so good, but then how to access the SVN repository. My virtual machine connects to the network independently so I had no consistent way of knowing the IP or hostname that I would need to browse to.

The answer: Bonjour for Windows. Installed that on the Windows Virtual Machine and bingo I can use the advertised machine name of my mac with the .local suffix to access the SVN, no matter what network I'm on.

No comments: