I have an application that does fine compiled for Debug, but when I compile for Release I get error: System.BadImageFormatException: Could not load file or assembly ‘Interop.PDFCreator, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’ or one of its dependencies. An attempt was made to load a program with an incorrect format.
File name: 'Interop.PDFCreator, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’
What could be the problem?