I am trying to parse XML content.
I want to use XMLDocument
but when I use it like that:
XMLDocument doc;
I receive an error:
incomplete type is not allowed
When I searched for this issue I found that some places write examples with these libraries:
#using <mscorlib.dll>
#using <System.dll>
#using <System.Xml.dll>
using namespace System;
using namespace System::IO;
using namespace System::Xml;
using namespace System::Xml::Schema;
But when I tried this I am received an error:
#using requires C++/CLI mode
What I need to do in order to be able to use XMLDocument
object ?