Hello,
I created Windows Game project.
In that project, I use IntermediateSerializer.Deserialize method to read settings from XML file.
It works fine.
But when I tried to port that project to Xbox360, I found "Microsoft.Xna.Framework.Content.Pipeline" assembly does not exist in references for Xbox360 --- "Program Files\Microsoft XNA\XNA Game Studio Express\v1.0\References\Xbox360" directory.
I tried to add "Microsoft.Xna.Framework.Content.Pipeline" assembly from "...\References\Windows\x86" directory and add to code "using Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate;", but many build errors occured.
They say "The type 'System.Xml.XmlReader' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'".
Of course, before I added reference to Content.Pipeline assembly and using statement, no build error occured.
Refer to MSDN document , IntermediateSerializer.Deserialize method is supported in "Xbox 360, Windows XP SP2".
But I can't find how to use IntermediateSerializer.Deserialize in Xbox360 project.
Are there any methods? I love IntermediateSerializer class!