You need to add a reference to the System.Xml.dll on the command line.