Do I need TFS installed on the machine that will u

2019-08-09 17:38发布

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条回答
【Aperson】
2楼-- · 2019-08-09 18:01

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.

查看更多
登录 后发表回答