HeliosKannon
28-12-2008 17:51:40
It's entirely possible my issues are due to insufficient caffeine intake, but I keep running into a persistent problem with the MogreFramework. I keep getting BadImageFormatException. I'm using a version built from source from the SVN server in tutorial 0. (With the timer issue fixed). I'm not sure if it's me, or my compiler, or what. (I'm using vista x64). Is there just a plain binary for a MogreFramework 1.4.8? I'm pretty sure it's just the framework, as I can run the samples quite well.
Specific exception:
Specific exception:
System.BadImageFormatException was unhandled
Message="Could not load file or assembly 'Mogre, Version=1.4.8.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format."
Source="MogreFramework"
FileName="Mogre, Version=1.4.8.0, Culture=neutral, PublicKeyToken=null"
FusionLog="=== Pre-bind state information ===\r\nLOG: User = Desktop\\Kannon\r\nLOG: DisplayName = Mogre, Version=1.4.8.0, Culture=neutral, PublicKeyToken=null\n (Fully-specified)\r\nLOG: Appbase = file:///C:/Users/Kannon/Documents/Visual Studio 2008/Projects/MOgreTemplate/MOgreTemplate/bin/Debug/\r\nLOG: Initial PrivatePath = NULL\r\nCalling assembly : MogreFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.\r\n===\r\nLOG: This bind starts in default load context.\r\nLOG: No application configuration file found.\r\nLOG: Using machine configuration file from C:\\Windows\\Microsoft.NET\\Framework64\\v2.0.50727\\config\\machine.config.\r\nLOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).\r\nLOG: Attempting download of new URL file:///C:/Users/Kannon/Documents/Visual Studio 2008/Projects/MOgreTemplate/MOgreTemplate/bin/Debug/Mogre.DLL.\r\nERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing terminated.\r\n"
StackTrace:
at MogreFramework.OgreWindow.Go()
at Test.Program.Main() in C:\Users\Kannon\Documents\Visual Studio 2008\Projects\MOgreTemplate\MOgreTemplate\Program.cs:line 15
at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException: