One of the annoying side effects of TFS (compared to Git) is that it adds a lot of extra files to manage the source control integration. This is not a problem as long as you don’t want to share your solution with someone else. But the moment you zip your code and let them open up your solution, they get weird warnings from Visual Studio when they load the solution and projects.
What we need is a simple way to strip out all the source control bindings before we distribute the code. And that’s exactly what Saveen Reddy did. He created a tool called VSUnbindSourceControl(https://vsunbindscc.codeplex.com/)
- Copy your solution to a new directory (because the tool does modify files)
- Run this command: VSUnbindSourceControl.exe d:\myfolder
Once the tool is finished, all the source control bindings have been removed from an SLN files and from any *proj files.