Do I need TFS installed on the machine that will use some dlls to communicate remotely to it?

不羁的心 提交于 2019-12-24 17:17:08

问题


I guess not, but here's the catch:

I've made a COM+ Object to be used from a machine where neither VisualStudio or TFS are installed. And this COM+ Object has referenced TFS dlls to make a login on a remote TFS server and create Work Items.

And I have another additional issue. I used VS2012 and TFS2010, so the dlls referenced say 11.0.0.0 when I think they should say 10.0.0.0 or somethin of that style.

I checked on this TFS 2010 build failing because it can't load Microsoft.VisualStudio.QualityTools.Plugins.CodeCoverage version 11.0 ...but I can't see if it's useful for me, and if it is, how.

This is the exact error:

Could not load file or assembly 'Microsoft.TeamFoundation.Client, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

And maybe, (as I tried to say in the title), it requires to have something installed on the machine... But this machine is a server, and it bothers me a bit to install new stuff on the server.


回答1:


The 11.0 DLLs are fine - it means you're using the 2012 client DLLs, but they work fine against a 2010 TFS server.

If VS is not installed on the machine where your app is running, you will need to deploy them with your app. See http://geekswithblogs.net/TarunArora/archive/2011/06/18/tfs-2010-sdk-connecting-to-tfs-2010-programmaticallyndashpart-1.aspx to know what DLLs are required and where to get them.



来源:https://stackoverflow.com/questions/17472913/do-i-need-tfs-installed-on-the-machine-that-will-use-some-dlls-to-communicate-re

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!