Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove TFS Connection From Solution

How to make solution as clean copy without mapping to TFS ? The problem is that this message shows when I am trying to open it. I want to open it as normal without TFS connection.

enter image description here

like image 277
theChampion Avatar asked Nov 18 '14 08:11

theChampion


People also ask

How do I remove a Source Control solution?

To remove files from source control: If you select a folder, project, or solution, any eligible child items will also be removed. choose Source Control > Remove or press Ctrl+R, R. The dialog will list the files that can be removed. In that dialog, you can deselect any files you don't want to remove.

How do I remove a connection from Team Explorer Visual Studio?

Hi, In Visual Studio 2019/2022, Team Exlorer > Manage Connections. The remove button is disabled as in the image, and there is no further information why.

How do I remove a project from a .NET solution?

In Solution Explorer, select the project you want to remove. On the Edit menu, click Remove. On the confirmation dialog, click OK, to remove the project from the solution.


2 Answers

To completely remove TFS source control binding follow these two steps:

  1. Go to your solution's folder, find and delete all files with *.vssscc and *.vspscc extensions.
  2. Open your solution's .sln file in Notepad, and find & remove the GlobalSection(TeamFoundationVersionControl) section.

More details on reference Link

like image 54
Tabish Usman Avatar answered Oct 13 '22 05:10

Tabish Usman


If you want to permanently and completely detach the solution from source control, then try the following:

  1. Click the 'No' button to avoid connecting to TFS.
  2. In the file menu, go to the source control options and clear the bindings. You'll specifically want File - Source Control - Advanced - Change Source Control...
  3. Save the solution.

Next time you open the solution you won't be prompted to connect to TFS.

like image 29
Richard Banks Avatar answered Oct 13 '22 05:10

Richard Banks