Posted 30 January 2022, 8:29 pm ESTHi. I have ActiveReports 16 and need to run SectionReports on Linux.
When I host on Windows, it works fine.
When I host on Linux, I get issue:
The type name 'XmlDocument' could not be found in the namespace 'System.Xml'. This type has been forwarded to assembly 'System.Private.Xml'...
At some part in the code I type this, and it's the first line that fails:
System.Xml.XmlDocument doc = ((XMLDataSource)rpt.DataSource).Document;
string myNode = doc.SelectSingleNode(@"//SeekInfo/Criterias").InnerText.ToString();
What am I supposed to do to fix this? Does it have to be rewritten away from System.Xml.XmlDocument? If so, how?