Two of the game samples used in the book won't load on the Xbox 360.
For example, DungeonQuest, after compiling and deploying to the Xbox 360, when you load the game, I get a black screen, then after 4 seconds, it just goes back to the XNA Game Launcher screen with no errors in the debugger.
XnaShooter does the exact same thing but with the following errors:
1. "An unhandled exeption of type 'System.InvalidOperationException' occurred in System.Xml.dll Additional information: There is an error in XML document (0, 0)."
This error highlights the following code in GameSettings.cs:
Code:
GameSettings loadedGameSettings =
(GameSettings)new XmlSerializer(typeof(GameSettings)).
Deserialize(file);
2. "An unhandled exception of type 'System.TypeLoadException' occured in XnaShooterXbox360.exe"
This error highlights the following code in BaseGame.cs:
Code:
int resolutionWidth = GameSettings.Default.ResolutionWidth;
Also to note, I downloaded the latest source files from
http://abi.exdream.com.