Unable to load DLL 'Microsoft.WITDataStore32.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
The other answers I see regarding this issue say that copying them to the bin directory is the solution. I clearly can see mine in the bin directory. I've uninstalled and reinstalled the TFS extended nuget package, cleaned, rebuilt, etc. just about 50 times now.
This error only occurs at runtime. The solution builds just fine.
Besides burning the whole thing to the ground what are some ways I could resolve this issue?
namespace (mynamespace)
{
class TFSConnection
{
string tfsUrl = "(tfsurl)";
string project = "(tfsProject)";
public ITestManagementTeamProject GetProject()
{
TfsTeamProjectCollection tfs = new TfsTeamProjectCollection(TfsTeamProjectCollection.GetFullyQualifiedUriForName(tfsUrl));
ITestManagementService tms = tfs.GetService<ITestManagementService>();
return tms.GetTeamProject(project);
}
}
}