Question

Okay, I am trying to add a .dll file to my application in Visual Studio 2010. If it is set for 32 bit, everything is fine. However, once I switch it to 64 bit, the library has a warning on it and wont load. I'm assuming the error "A single valid machine type compatible with the input type library must be specified" is related to the .dll not loading properly. It works fine if the application is moved up to .NET4.0 but I need to try and get this to work in .NET2.0. Any advice you can give on what is causing Visual Studio to not recognize the redemption64.dll would be greatly appreciated.

Was it helpful?

Solution

Make sure you project is set to build as "Any CPU", not x86 or x64 when you import the Redemption type library.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top