Mogre 0.2.2 TargetInvocationException issue


31-07-2007 05:29:09

I am trying to get my application using the Mogre 0.2.2 build to run. When I attempt to access any classes from Mogre, a TargetInvocationException is thrown. That exception is not very useful, but if you debug the catch and check the InnerException, it's the following:

+InnerException {"Could not load file or assembly 'Mogre, Version=, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format."} System.Exception {System.BadImageFormatException}

Basically it's saying one of the DLL's is a bad format. The only thing I can think of is that I am running Vista 64-bit and that's causing some kind of oddity. My Visual Studio 2005 is fully updated with SP1 and the Vista SP1 update. I've got the Vista SDK and the VC x86 redistributables installed.

Any ideas?


31-07-2007 06:18:20

This has been discussed in this topic ... 6&start=15


31-07-2007 14:36:16

We need a FAQ in the Wiki