如何解决这个问题?您是否缺少程序集参考 [英] How to resolve this?, are you missing assembly reference
问题描述
Microsoft中不存在名称空间客户端.teamfoundation是否缺少程序集引用
The namespace client does not exist in Microsoft.teamfoundation are you missing assembly reference
我已经添加了Nuget软件包Microsoft.TeamFoundationServer.Client
和Microsoft.TeamFoundationServer.ExtendedClient
,但是我仍然面临着这个问题.我想从TFS中提取工作项详细信息.
I have added Nuget packages Microsoft.TeamFoundationServer.Client
and Microsoft.TeamFoundationServer.ExtendedClient
but I'm still facing this issue. I want to extract work item details from the TFS.
推荐答案
Microsoft.TeamFoundationServer.Client
通过公共REST API提供对版本控制,工作项跟踪,构建等的访问.
Microsoft.TeamFoundationServer.Client
provides access to version control, work item tracking, build, and more via public REST APIs.
Microsoft.TeamFoundationServer.ExtendedClient
与客户端应用程序一起使用并管理版本控制,工作项和内部版本以及其他资源.该程序包不支持Net Standard Client OM.此程序包仅应在我们的REST API无法提供所需功能(即在TFVC中创建工作空间)的情况下使用.
Microsoft.TeamFoundationServer.ExtendedClient
works with and manages version control, work items, and build, and other resources from your client application. This package does not support Net Standard Client OM. This package should only be used in instances where our REST APIs don't offer the functionality you need (i.e. creating workspaces in TFVC).
如果使用的TFS版本> = TFS 2015,则应尝试使用REST API
提取工作项详细信息.关于REST API版本,您可以参考以下链接:
If you use a TFS version >= TFS 2015, you should try to use the REST API
to extract work item details. Regarding REST API version, you can refer to the following link:
以下链接上有现有的示例代码,您可以参考它:
Here is an existing sample code on the following link, you can refer to it:
这篇关于如何解决这个问题?您是否缺少程序集参考的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!