Home Forums Software Development .NET Could not load Tobii.EyeX.Client.Net20

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #6414
    Mike
    Participant

    Hello,

    I am currently trying to implement the SDK within an existing c# project though I have also attempted it with a fresh project to the same results.
    When I attempt to use ‘eyeX:Behavior.Activatable=”Default”‘ I get the below error:

    Could not load file or assembly ‘Tobii.EyeX.Client.Net20, Version=1.8.498.0, Culture=neutral, PublicKeyToken=70326046dcdce6cb’ or one of its dependencies. The system cannot find the file specified.

    I have checked that the references are pointing to the correct location and both my project and the EyeXFrameWork are both running on x86.
    The Tobii.EyeX.Client.dll is also included within the project and functioning correctly.

    Weirdly eyeX:Behavior.Activate=”button_click” causes no errors.

    If anyone could help me with this I would be greatly appreciative.

    #6488

    Hi Mike,

    There is a dependency that you need to put in “by hand” that you missed.

    However, our interaction eye tracking libraries are from today available on nuget, so I would recommend to install the packages through nuget package manager in Visual Studio instead. Then all the dependencies would be handled automatically when building the solution.

    Package is at https://www.nuget.org/packages/Tobii.EyeX.Framework/ and would be found in nuget package manager if you search for tobii eye tracking.

    Let me know if it does not work out, then I’ll look into it.

    #10815
    Nabru
    Participant

    I’m having the same issue with Tobii.EyeX.Client installed it via NuGet.

    I also found other solutions in the forum such as change platform to x86 and make sure .NET 2.0 is on (which it is). NOthing worked.

    Any idea how this can be fixed?

    #10820
    Grant [Tobii]
    Keymaster

    Hi @nabru, sorry to hear about your issues in getting started. May I ask if you are starting from scratch on a new project or integrating into an existing one?

    It would be useful to know if you can at least get up and running on the sample applications as provided at https://github.com/Tobii/CoreSDK

    If you could also kindly indicate your Visual Studio version (I am using VS 2017 without issue) that would be helpful. Do you find the Tobii DLL’s in your project directory?

    Thanks for your patience whilst we try to get you up and running!

    #10821
    Nabru
    Participant

    Yes, the sample applications provided work.

    I am integrating Tobii into an existent project. The code was developed 2 years ago and it worked at the time. It works in a Windows 10 laptop but I cannot get to work in my laptop with Windows 8. I am using VS 2015. The DLLs (EyeXFramework, Tobii.EyeX.Client, Tobii.EyeX.Client.Net20.dll are in the folder)

    #10823
    Nabru
    Participant

    When the project is “any CPU” I get the error “mismatch between processor architectures” when compiling. If I change it to x86, it compiles but I get the error: Could not load Tobii.EyeX.Client The module was expected to contain an assembly manifest

    #10850
    Grant [Tobii]
    Keymaster

    Hi @nabru, okay thanks for the clarification… It could therefore very well be that the syntax has since changed for importing the Tobii libraries within the main application. If you would care to share the project on github (or similar) I would be happy to take a look directly.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.