I downloaded the latest source code from https://github.com/groupdocs-viewer/GroupDocs.Viewer-for-.NET. I followed the steps to “How to run examples” but when I ran the solution an unhandled exception pop up which says “An unhandled exception of type ‘System.BadImageFormatException’ occurred in Unknown Module. Additional information: Could not load file or assembly ‘GroupDocs.Viewer.Examples.CSharp.exe’ or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.”. I’m unable to find the solution to this exception. Any help in this regard is much appreciated.
- OS you are using
- Line of code on which you get this exception
- The problematic file
Thanks for your response!
Yes I was able to build the project successfully. I put a lot of break points to track the point of exception but it didn’t even go to any them. It throws the exception at the very initial stage of execution may be at the time of linking through dlls.