I have a solution with solution folder and projects. Get the whole soure code from TFS in a local folder say c:\\mycodes Then copy the folder c:\\mycode to another folder c
Visual Studio 2019
Here are the steps to be taken to "How to disconnect solution from source control on TFS".
Step 1)
Step 2)
Step3)
I had to do this, because I wanted to remove all information used by Azure Dev Ops and then post the project on GitHub.