I tried to create a simple console application that uses Microsfot.Kinect.Tools. I am adding a link to the microsoft.Kinect.Tools.dll file. I am adding the appropriate namespace using Microsoft.Kinect.Tools;
. I came across the following exception when trying to check if library import is working:
Failed to load file or assembly "Microsoft.Kinect.Tools" Version = 2.0.0.0, Culture = neutral, PublicKeyToker = ... or one of its dependencies. Trying to make the program load the wrong format.
What I'm trying to do is create a function that writes .xef files:
public void writeXefFiles(String filePath)
{
using (KStudioClient client = KStudio.CreateClient())
{
client.ConnectToService();
...
}
}
However, it seems that I can’t name this function at all (exception is growing).