When I try to instance a xmldocument object in f#, why do I get an error message?
open System.Xml
let doc = XmlDocument()
The error message is:
ip.fsx(5,11): error FS0039: The value or constructor 'XmlDocument' is not defined
Before I execute this code, I do
> #r "System.Xml";;
--> Referenced 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Xml.dll'
What do I wrong?