Thursday, December 25, 2008

Unbinding the source code from VSS/TFS

One of the problem most of the developer faces is to unbind the source code from Visual Source Safe or TFS before releasing it or transferring it.

Following steps can be followed to unbind the source code.

  1. Go to the Root folder of the Source code
  2. Remove the read only attribute of all the folders and files inside the folders by going to the property window
  3. Search for *.scc ,*.vssscc,*.vspscc and delete those files
  4. Open the solution file in your favorite text editor and remove the following section: GlobalSection(SourceCodeControl) = preSolution
    ...
    EndGlobalSection
  5. Open all the projects in your solution one by one in your text editor and remove the following lines:
SccProjectName
SccLocalPath
SccAuxPath
SccProvider

Namastee!