我有VS 2017企业,我使用的是VSTS.OS - Windows Server 2012 R2 Microsoft.WITDataStore32.dll是本机dll,因此我们无法将其添加为引用
问题:
当我尝试在我的VS 2017企业中运行编码的UI测试时 我收到错误消息“无法加载DLL'Microsoft.WITDataStore32.dll':找不到指定的模块。(HRESULT异常:0x8007007E)”at
iTestManagementService.GetTeamProject("Project Name")
Stack Trace for this is
at Microsoft.TeamFoundation.WorkItemTracking.Client.DataStore.DataStoreNative32.CreateDatastore(IntPtr& handle)
at Microsoft.TeamFoundation.WorkItemTracking.Client.DataStore.DataStoreNative.CreateDatastore(IntPtr& handle)
at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.InitializeInternal()
at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.Microsoft.TeamFoundation.Client.ITfsTeamProjectCollectionObject.Initialize(TfsTeamProjectCollection teamProjectCollection)
at Microsoft.TeamFoundation.Client.TfsTeamProjectCollection.InitializeTeamFoundationObject(String fullName, Object instance)
at Microsoft.TeamFoundation.Client.TfsConnection.CreateServiceInstance(Assembly assembly, String fullName)
at Microsoft.TeamFoundation.Client.TfsConnection.GetServiceInstance(Type serviceType, Object serviceInstance)
at Microsoft.TeamFoundation.Client.TfsTeamProjectCollection.GetServiceInstance(Type serviceType, Object serviceInstance)
at Microsoft.TeamFoundation.Client.TfsConnection.GetService(Type serviceType)
at Microsoft.TeamFoundation.TestManagement.Client.TestManagementTeamProject.GetWitProject()
at Microsoft.TeamFoundation.TestManagement.Client.TestManagementTeamProject.get_WitHelper()
at Microsoft.TeamFoundation.TestManagement.Client.TestManagementTeamProject.get_SharedParameterDataSetWorkItemTypeName()
at Microsoft.TeamFoundation.TestManagement.Client.TestManagementTeamProject.get_HasSupportForSharedParameterDataSets()
我已经安装了Microsoft.TeamFoundationServer.ExtendedClient -Version 15.112.1 nuget包。它有dll存在于其中但不知何故它无法加载它。
我也按照有人的建议安装了TeamExplorer,但没有运气
以下是我的机器中存在Microsoft.WITDataStore32.dll和Microsoft.WITDataStore64 dll的路径
此问题已经存在here和here,但其答案并未解决我的问题。
有人可以帮忙吗?