Break old version control links

Break old version control links


If need to break old version control links, when you move your source control solution:

1. Files and Folders to Delete
Search your entire solution for these files and delete them:
  • *.vssscc and *.vspscc (Visual Studio Team Foundation / TFS binding files)
  • *.scc and vssver.scc / vssver2.scc (Visual SourceSafe files)
  • The hidden .vs folder in the root solution directory (stores local user options and caches)  
2. Edit the Solution File (.sln)
  1. Open your .sln file in a plain text editor like Notepad.
  2. Find and remove the entire block starting with GlobalSection(TeamFoundationVersionControl) = preSolution or GlobalSection(SourceCodeControl) = preSolution down to EndGlobalSection.
  3. Save the file.  
3. Edit the Project Files (.csproj)
  1. Open each individual project file (e.g., *.csproj) in Notepad. 
  2. Look for XML tags starting with Scc inside the <PropertyGroup> tags and delete them:
    • SccProjectName
    • SccLocalPath
    • SccAuxPath
    • SccProvider  
  3. Save the project files

Comments

Popular posts from this blog

GHL Email Campaigns

Await

Free AI Tools