|
Hi Guys,
i’ve hit a massive stumbling block in my project. I recently converted to XSI mod tool pro, upgrading my xna membership specifically so I could get it. I really love working with it! Anyway, I intergrated it with my xna project as per the documentation, adding the included refrences etc, and it was all great.
i’ve been testing on the pc for a while as I only do xbox builds periodically as pc start up is obviously alot faster. however this IS an xbox game im making so I decided to see how my new xsi models and effects looked on the xbox. Now I havnt finished converting all my media to xsi yet so I had to go through a few screens in my game until I got to a screen that used an xsi model - as soon as I got to that screen the game crashed.
An unhandled exception of type 'Microsoft.Xna.Framework.Content.ContentLoadException' occurred in Microsoft.Xna.Framework.dll
Additional information: Error loading "DATA_3D\CardRuby". Cannot find ContentTypeReader XSIXNARuntime.XSIAnimationDataReader, XSIXNARuntime, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null.
after some digging around it seemed what I needed to do was open the included source code for the plugins and compile myself an XSIruntime.dll for the xbox specifically - makes sense. So I did that. However when I add my own compiled dll to my 360 game project my project refuses to build completely - it just throws this error:
Error 1 The "BuildContent" task failed unexpectedly. System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark)
at System.Reflection.Assembly.GetTypes()
at Microsoft.Xna.Framework.Content.Pipeline.AssemblyScanner.GetSearchAssemblyTypes()
at Microsoft.Xna.Framework.Content.Pipeline.WorkerAppDomain.RemoteProxy.LoadAssemblies(String[] searchAssemblies, String[] dependencies)
at Microsoft.Xna.Framework.Content.Pipeline.WorkerAppDomain.RemoteProxy.LoadAssemblies(String[] searchAssemblies, String[] dependencies)
at Microsoft.Xna.Framework.Content.Pipeline.Tasks.BuildContent.Execute()
at Microsoft.Build.BuildEngine.TaskEngine.ExecuteInstantiatedTask(EngineProxy engineProxy, ItemBucket bucket, TaskExecutionMode howToExecuteTask, ITask task, Boolean& taskResult) Xbox 360 Copy (3) of MYGame
For 3 days now i’ve tried uselessly to fix this. I can compile the x86 version of the dll for windows and add it to my project no problem. But then I get the original crash at runtime when i run the project on the 360. The 360 dll just breaks my game project. Tried various versions of xna (3.0 and 3.1) etc and just nothing I can do works.
Where am I going wrong? If I cant make these models work on the 360 then this is all a waste of time :(
Thanks for your time and any help :)
|