How can the version of a Team Foundation Server be

2019-08-14 23:59发布

I'm working on a tool that works on both TFS2010 and TFS11. However, there are some features that are specific to TFS11, so I'd like to disable them when connecting to a server running TFS2010.

Is there any way to retrieve the version of the Team Foundation Server via the TFS API? I haven't found anything in the object model available on MSDN.

I found this blog post, which is interesting, but isn't a reasonable solution, since it requires using the TFS11 object model and it's entirely possible to connect to a TFS11 server using the TFS2010 object model.

1条回答
爱情/是我丢掉的垃圾
2楼-- · 2019-08-15 00:15

Check here, you should be good to go.

查看更多
登录 后发表回答