FileNotFoundException (DLL not found)
2 answers
Psychic debugging, since you didn't provide full details of the exception details, is if you have a 32 bit or 64 bit mismatch:
- Your executable file is AnyCPU
- The linked DLL (or link below) is x86
- The machine executing the executable is 64 bits
Basically, you'll have to recompile your C # executable with an x86 platform if you have an x86 DLL dependency (usually an unmanaged DLL).
+7
source to share