Why is one of my TFS projects not visible from Vis

2019-07-26 08:27发布

问题:

I have (very) recently began setting up a few TFS projects. I successfully set up two a couple of days ago, which are visible from Visual Studio 2013's Team Explorer, beneath bla.visualstudio.com

I added a third one today, and I can see all three at the link for them (https://bla.visualstudio.com/_projects).

Why does the third/newest project not display in Visual Studio?

I refreshed Team Explorer, and that made no difference. I even restarted Visual Studio, and still no difference.

The next thing I need to do is map the new project to its local source code, but I can't do that without their being a visible representation of the TFS project in Team Explorer.

What must I do yet to get the new project, which is visible "in the cloud" to also be visible in Visual Studio?

回答1:

You need to add the project (as a visible one), from the Connect to Team Foundation Server dialog. You find it by clicking the green plug icon in the top of the Team Explorer and then pressing Manage Connections.

Since the project was now created yet, when you first added the server connection, it could not be selected at that point.



回答2:

First right clicking on the solution and getting the newest version, usually this should add the missing project

Then please check if the missing project is showing under the Source Control Explorer.

If there are ,doing a manually map with local code or get down in another folder.

Another solution is using "Add existing project" in solution explorer which may do the trick. Detail steps please refer the answer in this similar question: Solution explorer not updating team projects in Visual Studio 2015