Quickly remove all source control bindings

If you want to share your source code that is under source control, you better remove the source bindings before sending your files to avoid the strange Visual Studio warnings when the solution is opened. You can do that by deleting the .vssscc and the .vspscc files and then removing the lines from the project file that start with Scc, but this manual work can be tedious for many projects.

A much simpler solution is to use the VS Unbind Source Control tool from CodePlex that does all that after firing it with a single line of command in command prompt:

  VSUnbindSourceControl.exe W:\MyFolder


One thought on “Quickly remove all source control bindings

  1. Karl

    You also have to edit the .sln file too. Nice post, helpful until the above tool works in VS 2013.




Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s