将现有项目添加到TFS2010中

将现有项目添加到TFS2010中

问题描述:

我已将TFS服务器配置为具有单个项目集合的所有凭据。现在我可以在团队基础中创建一个项目。它正确添加到TFS服务器中。但我无法使用(将解决方案添加到源代码管理)添加现有源代码。将现有项目添加到TFS2010中

TFS206018: The items could not be added to source control because either no team projects have been setup,or because you do not have permission to access any of the team projects in the current collection. 

您是否创建了“团队”项目,而不仅仅是一个项目。如果不是,那么你需要先做到这一点。如果你在线使用TFS,那么你可以通过它来做,或者在Visual Studio中,选择New - > Team Project。

然后,您应该可以将解决方案添加到您创建的团队项目中。