TFS 2015 SDK 缺少 Microsoft.WITDataStore64.dll [英] TFS 2015 SDK Missing Microsoft.WITDataStore64.dll

查看:16
本文介绍了TFS 2015 SDK 缺少 Microsoft.WITDataStore64.dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

出于某些原因,我正尝试切换到 TFS 2015 SDK dll(版本 14).首先,它们在 nuget 中,其次,2013 SDK dll(版本 12)需要在 IIS 中翻转 32 位标志.

I am attempting to switch to the TFS 2015 SDK dlls (Version 14) for a few reasons. First, they are in nuget and second, the 2013 SDK dlls (Version 12) require the 32-bit flag flipped in IIS.

我拉下了 nutget 包,所有命名空间都与现有的版本 12 命名空间对齐.

I pulled down nutget package and the namespaces all line up with the existing version 12 namespaces.

一切编译正常,本地部署没有错误.

Everything compiles fine and there was no error on local deployment.

但是,当我尝试使用 WorkItemStore 服务加载项目时.

However, when I attempt to load projects using the WorkItemStore service.

TfsTeamProjectCollection collection = new TfsTeamProjectCollection(URL);
var service = collection.GetService<WorkItemStore>();

我明白了:

附加信息:无法加载 DLL'Microsoft.WITDataStore64.dll': 指定的模块不能成立.(来自 HRESULT 的异常:0x8007007E)

Additional information: Unable to load DLL 'Microsoft.WITDataStore64.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

当我重新打开 IIS 中的 32 bt 标志时,我得到:

When I switch back on the 32 bt flag in IIS I get:

附加信息:无法加载 DLL'Microsoft.WITDataStore32.dll': 指定的模块不能成立.(来自 HRESULT 的异常:0x8007007E)

Additional information: Unable to load DLL 'Microsoft.WITDataStore32.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

注意:这是所有工作代码,我所做的只是删除对 GAC 程序集的引用并添加 NUGET 包.

Note: this was all working code, all I did was remove the references to the GAC assemblies and add the NUGET package.

根据 Microsoft,nuget 包应该适用于 TFS 2013 并适用于2013 SDK 的用户

According to Microsoft, the nuget package should work with TFS 2013 and work for users for the 2013 SDK

利用旧版 TFS 客户端的现有 Windows 应用哦.

Existing Windows apps leveraging an older version of the TFS Client OM.

推荐答案

以上都不适合我.我必须将该文件复制到我的 C:Program Files (x86)Microsoft Visual Studio 14.0Common7IDE 文件夹(通过使用 procmon 查看我的应用程序正在寻找它的位置发现了这一点).

None of the above worked for me. I had to copy that file to my C:Program Files (x86)Microsoft Visual Studio 14.0Common7IDE folder (found this out by using procmon to see where my app was looking for it).

这篇关于TFS 2015 SDK 缺少 Microsoft.WITDataStore64.dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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