Mar 5, 2010 at 5:18 PM
Edited Mar 5, 2010 at 5:36 PM
The exact type is not specified, the most information I can give you is the error message:
An unhandled exception of type 'System.TypeLoadException' occurred in Microsoft.Xna.Framework.Game.dll
Additional information: File or assembly name 'System.Core, Version=18.104.22.168, Culture=neutral, PublicKeyToken=B77A5C561934E089', or one of its dependencies, was not found.
I'm guessing this is because this version of System.Core is not availbe on the compact framework.
It seems that the compact framework and the silverlight framework are slightly different, but the silverlight version may work on xbox. Unfortunately I can't load the silverlight csproj (file type not supported by this installation). I'm using vs2008 professional,so
I'm not sure what that's all about :/
EDIT:: After messing around a little, I got this to compile and run on xbox. I referenced the xbox 360 versions of System and System.Core, I had to include the HashSet and Stopwatch from the silverlight version, and then strip out everything in the microsoft
namespace. I assume that all this had to be done for the silverlight equivalent too?
Is there any chance of adding a compiler conditional XBOX, which would basically do exactly the same as the silverlight one?
Ie, make all #if Silverlight into #if Silverlight | XBOX