How do you convert XmlReader to XmlTextReader?
Code snippet:
XmlTextReader reader = XmlTextReader.Create(pomfile.FullName);
Here is the build error I received:
Cannot implicitly convert type 'System.Xml.XmlReader' to 'System.Xml.XmlTextReader'. An
An explicit conversion exists (are you missing a cast?).
pomfile is of type FileInfo
user186222
source
share