You need the System.Xml.XDocument.dll
for XDocument
and XElement
.
See the docs :
If you don't have that dll on your system, you could install the System.Xml.XDocument NuGet package.
Install-Package System.Xml.XDocument -Version 4.3.0
PS: To read more how to install NuGet packages in Visual Studio, check Quickstart: Install and use a package in Visual Studio
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.