I am getting this error with SelectSingleNode method: DNX Core 5.0 error CS1061: 'XmlDocument' does not contain a definition for 'SelectSingleNode' and no extension method 'SelectSingleNode' accepting a first argument of type 'XmlDocument' could be found (are you missing a using directive or an assembly reference?)
Is it not supported yet? What are my alternatives?
You need to use XDocument
I have this problem too. To solve that, I'm using XDocument and so far so good.
Example:
Don't forget to include
"System.Xml.XDocument"
inside your project.json.In .Net Core 1.0 and .Net Standard 1.3 SelectSingleNode is an extenstion method
https://github.com/dotnet/corefx/issues/17349
Add a reference to make it available again: