Failed to load Microsoft.Kinect.Tools file or assembly.

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

+4
1

, dll gac - . :

cmd : gacutil/u Microsoft.Kinect.Tools.dll

: x86 x64 . , .

+5

Source: https://habr.com/ru/post/1614259/


All Articles