Unable to use XDocument in Silverlight?

I am creating a Windows Phone 7 application that will use an open web service. At the moment, I want to download a dummy XML file and parse the information.

I use XDocument for such things, but it seems that I cannot enter using using namespace in my code.

Any other ideas?

+3
source share
2 answers

The XDocument class is in the System.Xml.Linq namespace with a dll with the same name.

Have you added a link to the System.Xml.Linq.dll file?

+8
source

Source: https://habr.com/ru/post/1759916/


All Articles