如何扩展 TFS 2008 团队资源管理器查询生成器和结果网格
是否可以使用 TFS SDK 扩展 Team Explorer 2008 查询生成器和查询结果网格,我有一个要求,我喜欢添加一些自定义列并以分层结构获取结果网格中的输出,无论这是否可能或执行我必须从头开始编写这些功能。是否有任何适用于团队资源管理器的 API 文档?
谢谢
Is it possible to extend the Team Explorer 2008 Query Builder and Query result grid using TFS SDK , I have a requirement where i like to add some custom columns and get the output in the result grid in a hierarchical structure, whether this is possible or do i have to write these functionalities from scratch. Is there any API documentation available for team explorer.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为使用股票查询结果网格来完成此操作不会有太多运气。您可以使用 TFS API 自行编写,并将其创建为 Visual Studio 加载项。
找到了一些详细信息以获取来自 TFS 的查询列表。如果您有 Visual Studio 2010
http:// /code.msdn.microsoft.com/TfsSdk/Wiki/View.aspx?title=Enumerate%20Stored%20Queries
或者(更容易一点),您可以使用类似这样的代码来获取查询。但是,它使用了一些已弃用的代码。然而,它是为 TFS 2008 和 Visual Studio 2008 设计的:
I don't think you're going to have much luck doing this with the stock query result grid. You could potentially write your own, using the TFS API, and create it as a Visual Studio add-in.
Found some details to get a list of the queries from TFS. This is if you have Visual Studio 2010
http://code.msdn.microsoft.com/TfsSdk/Wiki/View.aspx?title=Enumerate%20Stored%20Queries
Alternatively (and a bit more easily), you can use code like this to get the queries. However, it uses some deprecated code. It is, however, designed for TFS 2008 and Visual Studio 2008: