Unable to load DLL 'Microsoft.WITDataStore32.dll' (TeamFoundation.WorkItemTracking)

前端 未结 4 1695
星月不相逢
星月不相逢 2020-12-10 14:20

I am posting this in the hope that it will save someone else the time and effort of figuring this one out:

My current setup is VS2015 again

4条回答
  •  南方客
    南方客 (楼主)
    2020-12-10 14:55

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

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

    The text below is copied from https://connect.microsoft.com/VisualStudio/feedback/details/1695433/team-foundation-server-2015-sdk-missing-microsoft-witdatastore64-dll

    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 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

    (note these paths point to the NuGet package folder)

提交回复
热议问题