Take the 2-minute tour ×  I have an XML file representing
different car manufactures that will be available in my game.
The file looks like this:    <Asset Type="List[string]">  When
adding it into my content folder, the compiler return this
error:  There was an error while deserializing intermediate XML.
Cannot find type "List`1"  How can I create a list of strings,
put it into XML and read it from XNA?  share|improve this
question Your deserializing code would be useful here. –  Tetrad
Apr 17 '11 at 10:27 I have no deserializing code. Maybe this is
where my problem starts? –  eflles Apr 17 '11 at 10:28 To answer
Tetrad's question: presumably eflles is using the XmlImporter,
part of the XNA Content Pipeline. The pipeline deserializes the
XML in order to convert it to an XNB file (which will then be
loaded by ContentManager at runtime). –  Andrew Russell Apr 17
'11 at 13:40 add comment  2 Answers  up vote 13 down vote
accepted  I haven't tried to find out exactly what is wrong with
your XML - it's probably th