简体   繁体   English

如何通过EnvDTE获取可用的TeamProject的列表?

[英]How to get a list of available TeamProjects through EnvDTE?

I was able to list the workspaces but i didn't find code examples on how to have information about the Source Control Team Projects. 我能够列出工作区,但没有找到有关如何获得有关源代码管理团队项目信息的代码示例。
I've looked through MSDN Documentation here but didn't succeed to get a List of Team Projects. 我在这里浏览了MSDN文档但没有成功获得团队项目列表。

When you want to list Team Projects of Source Control you cannot use the Visual Studio SDK but you need the Team Foundation Server SDK. 当您要列出源代码管理的团队项目时,不能使用Visual Studio SDK,但需要Team Foundation Server SDK。 Take a look at the following samples to get Team Project and other information from TFS. 查看以下样本,以从TFS获取团队项目和其他信息。

http://geekswithblogs.net/TarunArora/archive/2011/07/10/tfs-2010-sdk-get-projects-iterations-area-path-queries-and.aspx http://geekswithblogs.net/TarunArora/archive/2011/07/10/tfs-2010-sdk-get-projects-iterations-area-path-queries-and.aspx

http://blogs.msdn.com/b/buckh/archive/2012/01/25/how-to-get-the-tfs-objects-used-in-our-own-ui-integration.aspx http://blogs.msdn.com/b/buckh/archive/2012/01/25/how-to-get-the-tfs-objects-used-in-our-own-ui-integration.aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM