Mogre 0.2.2 TargetInvocationException issue

Kerion

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=0.2.2.0, 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?

smernesto

31-07-2007 06:18:20

This has been discussed in this topic http://www.ogre3d.org/phpBB2addons/view ... 6&start=15

pin

31-07-2007 14:36:16

We need a FAQ in the Wiki