Disclaimer: I am not responsible for your source code. Please make a backup of your files before attempting this!
I ran into a situation recently where I needed to remove the TFS source control bindings from a project. After a little bit of research I came up with this step by step process:
- In the project directory remove any files ending with *.vspscc
- In the project directory remove any files ending with *.vssscc
- Open the project file in a text editor (.csproj for C#) and remove the following lines:
If you project was part of a solution, when you reload your solution in Visual Studio you may get prompted with a question asking if you want to remove your source control bindings from the project. This is probably due to the fact that the solution file also has some information regarding the individual projects that are being referenced. In any case, just answer yes to remove the bindings and you are done.