VS.2017 cannot add a project to TFS Source Control

Visual Studio 2017 has so far been the scariest. I have an existing solution that I want to add to the original control (VisualStudioOnline.com), but every time I do this, it just creates a GIT repository locally and I DO NOT want GIT. He doesn't even ask.

I changed the default settings to VisualStudioOnline. But when I try to add a solution, I select Manage Connections, then I see the repository of the project that I created on the VSO website, and click on it, then Connect. After a while, the window simply disappears without giving an error, and Team Explorer still says that I am offline, so it was not added to TFS. However, my VS.2017 is connected to my VSO account.

What is the problem? can't they even hint why he is not connecting?

+4
source share
1 answer

So, you want to add a project in TFVC VCS not git in VSTS (visual studio services). First you need to create a TFVC repository on VSTS, then connect to VS2017, finally add the existing project to the source control and check. Detailed steps as below:

  • Create a TFVC repository by creating a new project or adding a new repo for an existing project in VSTS.

    enter image description here enter image description here

  • Connect to VS2017.

    VS → Team explorer → → → , VSTS acount → TFVC repo → connect → Map Get. enter image description here

    enter image description here enter image description here

  • .

    , → Team explorer → source control explorer → TFVC → → → .

    enter image description here

  • VSTS.

    , VSTS.

+2

Source: https://habr.com/ru/post/1679660/


All Articles