I\'m getting this error
The type initializer for \'Emgu.CV.CvInvoke\' threw an exception.
when I try to use Emgu CV. I\'ve tried
For me problem was solved by clicking in Visual Studio:
Menu -> Project -> Properties -> Build -> Prefer 32-bit.
It must have been a problem with emgu (probably x86) and my OS x64).