<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Automatic XNB serialization in XNA Game Studio 3.1</title><link>http://blogs.msdn.com/b/shawnhar/archive/2009/03/25/automatic-xnb-serialization-in-xna-game-studio-3-1.aspx</link><description>One of the new features in Game Studio 3.1 is automatic serialization for .xnb files. This is a feature I have wanted ever since we first designed the Content Pipeline, so it makes me very happy that we finally found time to implement it! &amp;#160; Short</description><dc:language>en</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Automatic XNB serialization in XNA Game Studio 3.1</title><link>http://blogs.msdn.com/b/shawnhar/archive/2009/03/25/automatic-xnb-serialization-in-xna-game-studio-3-1.aspx#10353891</link><pubDate>Thu, 27 Sep 2012 19:20:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10353891</guid><dc:creator>Regeta</dc:creator><description>&lt;p&gt;Thank you, this helped me even after I had already gone through the same tutorial on the Microsoft website.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10353891" width="1" height="1"&gt;</description></item><item><title>re: Automatic XNB serialization in XNA Game Studio 3.1</title><link>http://blogs.msdn.com/b/shawnhar/archive/2009/03/25/automatic-xnb-serialization-in-xna-game-studio-3-1.aspx#10081329</link><pubDate>Wed, 27 Oct 2010 04:21:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10081329</guid><dc:creator>Kame77</dc:creator><description>&lt;p&gt;Hi Shawn, could you please post an example using a jagged array. Thanks.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10081329" width="1" height="1"&gt;</description></item><item><title>re: Automatic XNB serialization in XNA Game Studio 3.1</title><link>http://blogs.msdn.com/b/shawnhar/archive/2009/03/25/automatic-xnb-serialization-in-xna-game-studio-3-1.aspx#10059954</link><pubDate>Thu, 09 Sep 2010 18:29:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10059954</guid><dc:creator>Michael Murphy</dc:creator><description>&lt;p&gt;I went through as suggested and removed all my ContentTypeReader classes (which were nested inside the original class to hold the data) and also the ContentTypeWriter classes (which were in a seperate assembly). I am following the tutorial for the RPG Game Kit on XNA.com and it seems that after i delete these, it will not dynamically generate the types. it errors and says can not find type Data.CharacterClass, which is still clearly defined, however there is no CharacterClassReader any more. I am trying to solve this huge enigma, the &amp;quot;Content Pipeline.&amp;quot; Any help would be greatly appreciated.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10059954" width="1" height="1"&gt;</description></item><item><title>re: Automatic XNB serialization in XNA Game Studio 3.1</title><link>http://blogs.msdn.com/b/shawnhar/archive/2009/03/25/automatic-xnb-serialization-in-xna-game-studio-3-1.aspx#10027561</link><pubDate>Sat, 19 Jun 2010 23:20:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10027561</guid><dc:creator>Tim</dc:creator><description>&lt;p&gt;sorry for the double post....I got it. &amp;nbsp;In my XML file I have a lower case i for &amp;lt;Item&amp;gt; !!! OMG&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10027561" width="1" height="1"&gt;</description></item><item><title>re: Automatic XNB serialization in XNA Game Studio 3.1</title><link>http://blogs.msdn.com/b/shawnhar/archive/2009/03/25/automatic-xnb-serialization-in-xna-game-studio-3-1.aspx#10027554</link><pubDate>Sat, 19 Jun 2010 22:23:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10027554</guid><dc:creator>Tim</dc:creator><description>&lt;p&gt;ok so i got it working in windows but not xbox.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10027554" width="1" height="1"&gt;</description></item><item><title>re: Automatic XNB serialization in XNA Game Studio 3.1</title><link>http://blogs.msdn.com/b/shawnhar/archive/2009/03/25/automatic-xnb-serialization-in-xna-game-studio-3-1.aspx#10027534</link><pubDate>Sat, 19 Jun 2010 20:06:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10027534</guid><dc:creator>Tim</dc:creator><description>&lt;p&gt;When I create the project it is always 3.0 then I have to upgrade it. &amp;nbsp;When I formate it exactly like you I also get this error.&lt;/p&gt;
&lt;p&gt;Error	1	There was an error while deserializing intermediate XML. &amp;#39;Element&amp;#39; is an invalid XmlNodeType. Line 4, position 8.	C:\Users\Administrator\Documents\Visual Studio 2008\Projects\MyGame\MyGame\Content\xmlfile.xml	4	8	MyGame&lt;/p&gt;
&lt;p&gt;That line and position is the &amp;lt;item&amp;gt; tag.&lt;/p&gt;
&lt;p&gt;I am using Visual Studio Express C#&lt;/p&gt;
&lt;p&gt;Thanks for any help.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10027534" width="1" height="1"&gt;</description></item><item><title>re: Automatic XNB serialization in XNA Game Studio 3.1</title><link>http://blogs.msdn.com/b/shawnhar/archive/2009/03/25/automatic-xnb-serialization-in-xna-game-studio-3-1.aspx#10027412</link><pubDate>Sat, 19 Jun 2010 04:30:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10027412</guid><dc:creator>Shawn Hargreaves - MSFT</dc:creator><description>&lt;p&gt;&amp;gt; Dude I followed your instructions and this doesn&amp;#39;t work.&lt;/p&gt;
&lt;p&gt;I bet you&amp;#39;re doing this in a Game Studio 3.0 (not 3.1) project.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10027412" width="1" height="1"&gt;</description></item><item><title>re: Automatic XNB serialization in XNA Game Studio 3.1</title><link>http://blogs.msdn.com/b/shawnhar/archive/2009/03/25/automatic-xnb-serialization-in-xna-game-studio-3-1.aspx#10027411</link><pubDate>Sat, 19 Jun 2010 04:18:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10027411</guid><dc:creator>Tim</dc:creator><description>&lt;p&gt;Dude I followed your instructions and this doesn&amp;#39;t work.&lt;/p&gt;
&lt;p&gt;Error	1	Unsupported type. Cannot find a ContentTypeWriter implementation for MyDataTypes.CatData.	C:\Users\Administrator\Documents\Visual Studio 2008\Projects\MyGame\MyGame\Content\XMLFile1.xml	MyGame&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10027411" width="1" height="1"&gt;</description></item><item><title>re: Automatic XNB serialization in XNA Game Studio 3.1</title><link>http://blogs.msdn.com/b/shawnhar/archive/2009/03/25/automatic-xnb-serialization-in-xna-game-studio-3-1.aspx#9944705</link><pubDate>Wed, 06 Jan 2010 18:05:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9944705</guid><dc:creator>Guffy</dc:creator><description>&lt;p&gt;Thank you for this post.It was realy helpful!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9944705" width="1" height="1"&gt;</description></item><item><title>re: Automatic XNB serialization in XNA Game Studio 3.1</title><link>http://blogs.msdn.com/b/shawnhar/archive/2009/03/25/automatic-xnb-serialization-in-xna-game-studio-3-1.aspx#9906677</link><pubDate>Tue, 13 Oct 2009 15:56:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9906677</guid><dc:creator>Shawn Hargreaves - MSFT</dc:creator><description>&lt;p&gt;Mike: you can only cast a Sprite object to a Player if the object in question is in fact a Player instance. How do you originally create these objects? You will need to make sure you create them all using the correct types for each. The serialization mechanism will preserve whatever types you give it so my guess is you are not creating the right types in the first place.&lt;/p&gt;
&lt;p&gt;btw. I would recommend the forums on creators.xna.com if you have further questions - those tend to work better than blog comments for this kind of support discussion!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9906677" width="1" height="1"&gt;</description></item></channel></rss>