views:

51

answers:

3

Hi all,

I want to pass a project to a colleague without SCC bindings to avoid accidental changes in my repository.

Is it possible to do a clean checkout from a TFS 2008 repo? I'm going crazy finding such an option in VS2008.

Thanks in advance.

+1  A: 

I don't think this is possible. As far as I know TFS does not contain an export like functionality as SVN does.

You can do a hard "unbind" However as:

File -> Source Control -> Change Source Control and then unbind and/or disconnect all projects and the solution.

But watch out this will remove the bindings from the solution and project files.

Rody van Sambeek
We're doing this right now. Well, not the optimal way, but it works.Thanks to all :)
Luis Medel
A: 

Rody has a good answer, but here is another hack way to do it.

If you delete all the .vspscc files and then reload the solution it should prompt you saying that it cannot find all the source control information, and one of the options from that is to work disconnected.

slugster
I've done that in the past with SourceSafe (ok, it's not the same thing, but not so different so far) and was a PIA :(
Luis Medel
+1  A: 

There is a NAnt task that will strip them out: http://www.atalasoft.com/cs/blogs/jake/archive/2008/05/21/2custom-nant-task-for-removing-tfs-bindings.aspx

Ryan Rinaldi
Thanks! This is great :)
Luis Medel