【发布时间】:2017-08-15 00:34:01
【问题描述】:
我只是在寻找 Microsoft teamfoundation dll 的某种替代方案。我们正在使用 Visual Studio 2013 开发我们的软件,我们的更新软件从 TFS 中提取信息。
大多数使用该软件的人不需要 Visual Studio,而是使用 Visual Studio Team Explorer 2008(许可证比完整的 Visual Studio 许可证便宜)。
当使用团队资源管理器的人尝试更新但拥有旧版本的 Microsoft.TeamFoundation.Client 时,就会出现此问题。 Team Explorer 2008 使用 Microsoft.TeamFoundation 9.0,而 Visual Studio 2013 使用 12.0 版。
我们已尝试将 12.0 dll 与更新程序捆绑在一起,但之后的依赖链仍在继续,并且需要不断捆绑/更新这些 dll。
如果有人对替代方案有任何想法,将不胜感激!
谢谢!
编辑:我意识到我没有在这里提到这两个 dll 的问题。使用的两个是:
using Microsoft.TeamFoundation.Client;
using Microsoft.TeamFoundation.VersionControl.Client;
即使使用这些也只有 3 行代码。这三行是我目前(但未成功)试图找到替代方案的:
TfsTeamProjectCollection projects = new TfsTeamProjectCollection(new Uri("some uri"));
VersionControlServer vsStore = projects.GetService<VersionControlServer>();
ItemSet items = vsStore.GetItems(sourcePath, VersionSpec.Latest, RecursionType.OneLevel);
【问题讨论】:
标签: c# tfs visual-studio-2013 tfs-sdk