How can I totally remove TFS bindings from a solution?

10,281

Solution 1

Some PDA deployment projects(.vddproj) had some bindings hanging around. Just removed them manually :)

Solution 2

The way to remove the bindings is to search the csproj files and remove it. There is a similar question on this topic already: See: How to remove TFS source control bindings for a solution from the command line

Solution 3

Here's a PowerShell script to remove the source control binding info. It was ported from some C# and only tested on VS 2010 solutions. The original code was written for VS 2005 and 2008 so you could probably add the relevant stuff back in.

Solution 4

Here you can find a tool (including source code) to remove both SCC footprint from the solution and project files and the .vssscc and .vspscc files. In addition, it removes the output and other configurable directories.

Hth

Stefan

Share:
10,281
Matt Roberts
Author by

Matt Roberts

Updated on June 09, 2022

Comments

  • Matt Roberts
    Matt Roberts almost 2 years

    We have a large solution with many projects. Some of the projects were outsourced, and the vendor used TFS. When they commited into our SVN repo, some of the bindings are still hanging around.

    When I open the sln, VS2008 says "The source control provider associated with the solution cannot be found, do you want to remove them". I hit yes, save and exit, and then next time it does it all again :)

    So - anyone know how I cam get rid of any TFS bindings from the sln once and for all? Do I need to manually search the csproj files for any "scc" references and remove?

    Thanks!

  • Matt Roberts
    Matt Roberts about 15 years
    Thanks. I'll have to do this the hard way :) I saw the other post but found it a bit inconclusive, so thought I'd check.
  • Brian
    Brian about 15 years
    It looks like there might be some automated tools described at the other one with a link to: atalasoft.com/cs/blogs/jake/archive/2008/05/21/… I would start there.