Remove those pesky source control bindings

So you took the plunge. You decided to migrate your source code away from Team Foundation Server into Git, Bazaar or Mercurial. You either started from fresh or you actually converted all your history.
Anyway, life is good. You open your new repository and open a Visual Studio solution, only to be confronted with this:

Visual Studio embeds source control bindings in your solution and project files. Those have to be removed so that will you no longer see this message. You could open each solution and select ‘yes’ to remove the bindings.
However, because I had a large number of solutions I didn’t want to this manually. So, I wrote a small Powershell script that automatically removes all those bindings in a given directory structure.
My small way of saying thanks to the Git community. Patches are welcomed through the usual Github channels.


Popular posts from this blog

Small tip: use QueueBackgroundWorkItem for asynchronous work in ASP.NET

Why you should use git merge --no-ff when rebasing.

Using NUnit for your tests in Team Foundation Service with a Git repository