I read on http://thibautvs.com/blog/?p=851 that System.Xml.XmlDocument was removed and is now succeeded by System.Xml.Linq.XDocument.
But I cannot add this in silverlight:
System.Xml.Linq
though I can add
System.Xml
What should I do?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You will need to add a reference to the assembly
System.Xml.Linq(which is in System.Xml.Linq.dll) to your project first.System.Xmlis in System.Xml.dll – which is a different assembly.MSDN
In Silverlight projects the
System.Xml.Linqassembly is located in Assemblies > Extensions instead of Assemblies > Framework.