However, if you are using the Load overload that takes a XmlReader birli an argument, you must specify an XmlReader that gönül resolve entities.
NotSupportedException The XML being loaded contains entity references, https://socialrus.com/story17446666/c-xmldatadocument-kullanımı-genel-bakış