I need to use Affdex SDK in a research project, but I am having problems starting the project with C#.
In Visual Studio I did the following steps:
- I created a new project;
- I added a reference to Affdex.dll.
However, when I try to instantiate a CameraDetector
object, I have an exception with the message:
An unhandled exception of type 'System.BadImageFormatException' occurred in mscorlib.dll
I know that my Affdex SDK is functional because I downloaded the sample project and it works perfectly. Furthermore, I used this project as base, I removed all sample classes, and I added my own classes and the project works appropriately. My conclusion is that I have to include another reference or configuration to the new project.
So, I would to know how is the step-by-step to create a new Visual Studio project to use the Affdex SDK.