I referenced System.Xml:
using System.Xml;
Then in this line:
XmlDocument xdoc = new XmlDocument();
I get:
The type or namespace name "XmlDocument" was not found.
What could be wrong?
information:
.NET 3.5, C #, triple checked that it is referenced and used in the same document, was able to use similar and even child libraries (System.Linq; System.Xml.Linq; System.Xml.XPath; System.Xml;)
, System.Xml.dll . , , System.Xml. *, , System.Xml, , .
, , - VS.
, SilverLight?
, , SilverLight, , System.XML Silverlight CLR. System.Linq.XML.
,
Dan
, , , , :
, , , - :2 : XMLDocument (from msxml.h) XMLDocument ( System.Xml)., !; -)
XMLDocument
, , . Xamarin.Forms, PCL (Profile111), XmlDocument. System.Xml.Linq.XDocument. WindowsPhone XmlDocument .
If you are using Visual Studio code, you need to include the .NET package from NuGet . You can also just include the System.Xml.XmlDocument package directly if that is all you need.
Source: https://habr.com/ru/post/1740459/More articles:Rails - handling global site settings - ruby-on-railsruby on rails - ruby | fooobar.comHow are 6 trits equal to 9.5 bits? - bitswhy does internet explorer display my page in javascript back? - javascriptPHP - Нельзя использовать Heredoc в методе класса? - phpview in ASP.NET MVC application - asp.net.dll application name is .netHow long does MySQL take to create an index - mysqlCannot convert value in attribute '[attr]' to an object of type 'System.Windows.TemplateBindingExtension' - wpfUsing parameter values in an SQL statement - sqlAll Articles