How to solve Framework/DLL compatibility error
The most common error with Foxit PDF Generator or Merger .NET SDK is that the project .NET Framework does not match with the .NET correct Generator or Merger .NET SDK DLL.
Solution: Set your project to the .NET SDK DLL you are using, or use the correct .NET SDK for your project (i.e 2.0 .NET Framework project should be using Foxit.PDF.20.dll)
This problem can cause the error: “system.typeinitializationexception mscorelib int32 error index”
Updated on April 5, 2017