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

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

问题描述

我在尝试切换到TFS 2015年SDK的DLL(版本14)的几个原因。首先,他们在的NuGet第二,2013年的SDK的DLL(第12版)需要在IIS翻转32位的标志。



我拉下来的nutget包和命名空间都排队与现有的12版的命名空间。



一切编译罚款,并有当地部署的任何错误。



然而,当我试图加载项目使用 WorkItemStore 服务。

  TfsTeamProjectCollection收集=新TfsTeamProjectCollection(URL) ; 
VAR的服务= collection.GetService< WorkItemStore>();



我得到:




其他信息:无法加载DLL
'Microsoft.WITDataStore64.dll':指定的模块找不到
。 (异常来自HRESULT:0x8007007E)




当我在IIS切换回上32胜旗,我得到:




其他信息:无法加载DLL
'Microsoft.WITDataStore32.dll':指定的模块不能
找到。 (异常来自HRESULT:0x8007007E)




请注意:这是所有工作的代码,我所做的就是删除对GAC集的引用和添加的NuGet包。



根据微软的的NuGet包应当以TFS 2013工作,为用户提供了2013 SDK



工作

现有的Windows应用程序充分利用TFS客户端的旧版本
OM



解决方案

有关备查这个问题是由微软回答:



https://connect.microsoft.com/VisualStudio/意见/细节/ 1695433


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.

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.

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

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

I get:

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

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

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

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

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

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

解决方案

For future reference this issue was answered by Microsoft:

https://connect.microsoft.com/VisualStudio/Feedback/Details/1695433

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

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