Reputation: 416
hoping someone has seen this before.
When I try to enable continuous integration in Visual Studio, using Visual Studio Team Services, I get the following error: "This version control host is unsupported. Repositories must be hosted on VSTS or GigHub." This error gets zero results in google.
As you can see in the screenshot, the solution IS hosted by VSTS.
Explaining the screen shot:
Additional facts:
Appreciate any help. My best guess is that my security permissions are wrong in VSTS, but both accounts are members of the 'admin team' group, and admin@mycompany.com is the creator/owner of the VSTS account and repository, so I don't see how.
Upvotes: 1
Views: 275
Reputation: 416
I was able to use TFVC for version control and get CI/CD to work. Following the newer instructions provided by @starain-MSFT: Continuous Integration
This sets up CI/CD using the VSTS web portal exclusively. It works, but if I click 'configure continuous delivery' in the VS2017 status bar and use that form, I continue to get the error above.
If anyone posts an answer that fixes the exact question asked I'll update and mark that as the answer. Good news is that you can indeed use TFVC with CI/CD. yay, and thanks to @starain-MSFT for the updated link.
Upvotes: 1
Reputation: 33728
You are using TFVC version control, the continuous delivery is used for Git version control, so you need to add a new git repository (can be in TFVC team project: Use Git and TFVC repos in the same team project), and use this git repository as source control.
Article about TFVC and Git: Choosing the right version control for your project
Upvotes: 1