Not able to run C# sample application



I want to use affectiva SDK for video analyser, and for that I download “” and try to run this demo but always give runtime error (see below), Please help me how to run this. Even this video not helping(

Error log
{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.}

Thanks And Regard



check in the properties that the configuration is release and the platform is 64


Is this resolved then?


Thanks for the response,
I have already configured same in the visual studio 2015, release mode and platform is 64bit and also added the reference to affdex-native.dll as shown in the video. Then also I am getting same errors.


Hi, please try running Dependency Walker ( on Affdex.dll to identify what you’re missing.


Using Dependency Walker, it gave

Warning: At least one delay-load dependency module was not found.
Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.

please help.


Hi, I found another resource that may be helpful, take a look at


I ran into the same problem today. I used the Process monitor to investigate which dependency was missing.
The problem is in “tensorflow.dll” which isn’t linked to project.

So, to make “sample project” working I did these steps:

  • Delete the “affdex-native.dll” and “opencv_ffmpeg248_64.dll” from project
  • Add them again: Project > Add existing item… > choose “affdex-native.dll”, “opencv_ffmpeg248_64.dll” and also “tensorflow.dll” from C:\Program Files\Affectiva\AffdexSDK\bin
  • In the properties of the libs change parameter to “Always copy”

After that AffdexMe finally launched successfully

Affdex.dll dependency issue

@umang_mehta, this is not directly related to this post, but I’ve written a post about a similar error last week, and it seems that it is still being reviewed by an administrator (he’s supposed to be checking if it’s spam). Could someone tell me how long does that checkup process usually take? Thank you.


@francisco_homem I was able to mark your post as not spam.

closed #11