Error while deserializing intermediate XML. Cannot find type
问题 The whole error message is here: There was an error while deserializing intermediate XML. Cannot find type "WindowsGame1.Tile". I'm making an XNA game, and right now I'm trying to load in a tile-based level from an xml file. Right now, my xml file looks like this: <?xml version="1.0" encoding="utf-8"?> <XnaContent> <Asset Type="WindowsGame1.Tile"> <Tile> <X>0</X> <Y>0</Y> <ImageName>grass-tile</ImageName> </Tile> </Asset> </XnaContent> And my C# file looks like this: using System; using