1 Comment Already

commenter
sideshow Said,
June 20th, 2010 @6:58 pm  

You have to add System.Xml.Linq as a reference in your project for this to work.

right click on your silverlight project -> Add Reference ->System.Xml.Linq

Also don’t forget to add
using System.Windows.Markup; //gives access to XamlReader
using System.Xml.Linq; //gives access to XDocument
to the top of your file.

This is under VisualStudios 2010 using silverlight 4

Related Post

Please Leave Your Comments Below

Please Note: All comments are moderated, so it may take some time before your comment appears.