i\'m trying to debug my program, using emgu and HaarCascade in c#. i\'m getting an exception like so :
Unable to load DLL \'cvextern\': The specifie
My problem for this error was that VS2015 was running the web project in 32 bit IIS Express. The fix was to ensure it was using 64 bit IIS Express
I added this code at startup to remind myself when setting up a new machine
if (IntPtr.Size != 8)
{
throw new Exception("Change VS options to ensure 64bit IIS Express");
}