Search code examples
c#dllmscorlibaffdex-sdk

Affectiva mscorlib.dll and dependencies error


I'm building a C# Affectiva product, up until a few days ago everything was working fine. I did a clean install of Windows 10 and I am using Visual Studio Enterprise. I keep having the following error stating missing mscorlib.dll or affect.dll

Affectiva Error

I've tried referencing the dll, recopying the proper dll for debug mode, ensured .net Framework 4.0 is loaded and the VS C++ Redist 2013. I've ensured all updates are complete on my PC. I'm the only one in the group that can't run the program now. I don't know what else to do.

Any suggestions would be greatly appreciated.


Solution

  • Found a program named Dependency Walker. Ran it, and the files it says I was missing was from the Windows 8.1 API set. I install those and it works now.