Home › Forums › Software Development › .NET Could not load Tobii.EyeX.Client.Net20
- This topic has 6 replies, 4 voices, and was last updated 5 years, 5 months ago by Grant [Tobii].
- AuthorPosts
- 06/03/2017 at 15:59 #6414MikeParticipant
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.
14/03/2017 at 20:15 #6488Denny [Tobii]MemberHi 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.
11/04/2019 at 05:18 #10815NabruParticipantI’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?
11/04/2019 at 21:02 #10820Grant [Tobii]KeymasterHi @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!
11/04/2019 at 22:15 #10821NabruParticipantYes, 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)
12/04/2019 at 00:20 #10823NabruParticipantWhen 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
14/04/2019 at 21:06 #10850Grant [Tobii]KeymasterHi @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.
- AuthorPosts
- You must be logged in to reply to this topic.