Visual Studio 2015 中的 Microsoft.VisualStudio.TeamFoundation.VersionControl.dll 在哪里 [英] Where is Microsoft.VisualStudio.TeamFoundation.VersionControl.dll in Visual Studio 2015

查看:27
本文介绍了Visual Studio 2015 中的 Microsoft.VisualStudio.TeamFoundation.VersionControl.dll 在哪里的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将我自己的 TFS 日志扩展迁移到 VS 2015 并遇到许多依赖问题.他们中的大多数我都可以通过安装 Microsoft.TeamFoundationServer.ExtendedClient nuget 包.

I'm migrating my own TFS logging extension to VS 2015 and run into many dependency issues. Most of them I was able to get rid off by installing Microsoft.TeamFoundationServer.ExtendedClient nuget package.

然而,仍然缺少一个引用,VersionControlExt

However there's still one missing reference, the VersionControlExtclass

versionControlExt =
                    _applicationObject.GetObject("Microsoft.VisualStudio.TeamFoundation.VersionControl.VersionControlExt")
                    as VersionControlExt;

根据文档,它位于Microsoft.VisualStudio.TeamFoundation.VersionControl.dll,但我根本找不到这个文件.有谁知道从哪里获取它或如何更改上述代码以使其与 VS 2015 一起使用?

According to documentation, it is located in Microsoft.VisualStudio.TeamFoundation.VersionControl.dll, but I can't find this file at all. Does anyone know where to get it from or how to change the above code to get it working with VS 2015?

我使用的是 Visual Studio 2015 Professional,14.0.23107.0 D14REL 版本.

I'm using Visual Studio 2015 Professional, 14.0.23107.0 D14REL version.

推荐答案

好的,我终于找到了问题所在.

Ok, I've finally found the issue.

GAC (c:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.VisualStudio.TeamFoundation.VersionControl\) 中的那个是旧版本 (11.0.50727.1)图书馆.它通过 VS 2015 安装到达那里,但它不是正确的.

The one that is in GAC (c:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.VisualStudio.TeamFoundation.VersionControl\) is the old version (11.0.50727.1) of the library. It gets there with VS 2015 installation, but it isn't the right one.

Visual Studio Team Explorer 扩展使用的那个位于 c:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\oglzibax.qr0\.它的版本是 14.0.23102.0.

The one that is used by Visual Studio Team Explorer extension is located in c:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\oglzibax.qr0\. It's version is 14.0.23102.0.

当我尝试使用旧的时,我不断收到 MissingMethodException.

While I was trying to use the old one, I was constantly getting MissingMethodException.

这篇关于Visual Studio 2015 中的 Microsoft.VisualStudio.TeamFoundation.VersionControl.dll 在哪里的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆