FileNotFoundException when running sample app (C#)


#1

I downloaded the C# sample app, but when it starts it throws the following exception:

System.IO.FileNotFoundException was unhandled
Message: An unhandled exception of type ‘System.IO.FileNotFoundException’ occurred in mscorlib.dll
Additional information: Could not load file or assembly ‘Affdex.dll’ or one of its dependencies. The specified module could not be found.

I am using VS2015 and AffdexSDK-4.0.0-615.
Any ideas on how to solve it?

Thanks


#2

Possibly the file affdex-native.dll (which is a dependency of Affdex.dll) is not being found at runtime. See the video at https://knowledge.affectiva.com/docs/getting-started-with-the-emotion-sdk-for-windows, particularly the step at about 17 minutes in, where Visual Studio is configured to copy that DLL to the output dir.


#3

Thanks for trying to help, but the page is not found.


#4

Sorry about that. I fixed the link above.