似乎无法使用TFS API,如何从SDK正确导入项目? [英] Cannot seem to use TFS API, how to correctly import items from the SDK?
问题描述
我正在尝试编写一些简单的代码来连接到 TfsTeamProjectCollection
,但是,我仍然收到消息:
I am trying to write some simple code to connect to a TfsTeamProjectCollection
, however, I continue to get the message :
"类型或名称空间名称'WorkItemStore'/'WorkItemCollection'/'TfsTeamProjectCollection'/'Project'找不到."
"type or namespace name 'WorkItemStore'/'WorkItemCollection'/'TfsTeamProjectCollection'/'Project' could not be found."
我试图找到TFS SDK以及如何安装它,但是我似乎无法弄清楚-我似乎是盲目的,因为在某处确实有很好的文档记录.我相信我需要安装一些这些项,然后将它们添加为对我的项目的引用?这是正确的吗?我需要哪些物品?
I have tried to find the TFS SDK, and how to install it, but I can't seem to figure this out - I seem to be blind as this is definitely well documented somewhere. I believe I need to install some of these items, and then add them as references to my project? Could this be correct ? Which of these items do I need ?
非常感谢您为这个愚蠢的问题致歉-我最近放弃了咖啡!
Thanks very much, apologies for the silly question - I have recently given up coffee!
推荐答案
尝试引用Microsoft.TeamFoundation.Client.dll
Try referencing the Microsoft.TeamFoundation.Client.dll
它与Team Explorer一起安装.
It is installed with Team Explorer.
这篇关于似乎无法使用TFS API,如何从SDK正确导入项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!