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
Found this on c#,VS 2017, emgu version 3.2.0.2682
Tried a simple build on AnyCPU and received the bad format exception. So I tried x86 bad format exception because of possible suggestions in the comments. Finally I put it as x64 and it worked fine.