无法加载 DLL 'Microsoft.WITDataStore32.dll' (TeamFoundation.WorkItemTracking) [英] Unable to load DLL 'Microsoft.WITDataStore32.dll' (TeamFoundation.WorkItemTracking)

查看:23
本文介绍了无法加载 DLL 'Microsoft.WITDataStore32.dll' (TeamFoundation.WorkItemTracking)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发布此内容是希望它能为其他人节省时间和精力来解决这个问题:

我当前的设置是 VS2015 针对 TFS 2013.4

My current setup is VS2015 against TFS 2013.4

问题

我的旧 PC 安装有 VS2013,我一直在使用 Microsoft.TeamFoundation.WorkItemTracking.Client 命名空间从 TFS 获取一些工作项信息.

My old PC setup had VS2013, and I had been using the Microsoft.TeamFoundation.WorkItemTracking.Client namespace to get some Work Item information from TFS.

我最近不得不重建我的电脑,并继续开发一个程序来获取这些信息.

I recently had to rebuild my PC, and continued development of a program that gets this information.

令我沮丧的是,我不断收到错误消息:

To my dismay, I kept getting an error:

Unable to load DLL 'Microsoft.WITDataStore32.dll'

推荐答案

您不再需要安装 TFS 对象模型/团队资源管理器.您可以使用 NuGet 包

You don't need to install the TFS object model/Team Explorer anymore. You can use the NuGet package

同样使用 NuGet 包,您可能会遇到相同的问题,即您的应用程序找不到本机 DLL.

Also with the NuGet package, you may run into the same issue that your application cannot find the native DLL.

以下文字复制自https:///connect.microsoft.com/VisualStudio/feedback/details/1695433/team-foundation-server-2015-sdk-missing-microsoft-witdatastore64-dll

Microsoft.WITDataStore*.dll 是 ExtendedClient 包的一部分,它们是本机 dll,不能在托管项目中引用.您需要手动将 dll 复制到 bin 文件夹中以进行运行时解析.

Microsoft.WITDataStore*.dll is part of the ExtendedClient package, they are native dlls and cannot be referenced in managed project. You will need to manually copy the dll into your bin folder for runtime resolution.

Microsoft.WITDataStore32.dll 位于 ..\Microsoft.TeamFoundationServer.ExtendedClient.14.83.1\lib\native\x86Microsoft.WITDataStore64.dll 位于 ..\Microsoft.TeamFoundationServer.ExtendedClient.14.83.1\lib\native\amd64

Microsoft.WITDataStore32.dll is in ..\Microsoft.TeamFoundationServer.ExtendedClient.14.83.1\lib\native\x86 Microsoft.WITDataStore64.dll is in ..\Microsoft.TeamFoundationServer.ExtendedClient.14.83.1\lib\native\amd64

(注意这些路径指向 NuGet 包文件夹)

(note these paths point to the NuGet package folder)

这篇关于无法加载 DLL 'Microsoft.WITDataStore32.dll' (TeamFoundation.WorkItemTracking)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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