I have the following code:
using System.Xml;
namespace MyApp {
public class Foo : IBar {
public void SomeCallback(object sender, CallbackEventArgs e) {
string s = e.Result;
System.Xml.XmlDocument xml; // <-- Error CS0234.
...
This results in error CS0234: The type or namespace name 'XmlDocument' does not exist in the namespace 'System.Xml' (are you missing an assembly reference?)
I have verified that System.Xml is included under "References" in Solution Explorer. It's listed as using 2.0.x.x, but that should be fine since the class allegedly existed then?
I'm not well versed in .net development, so I'm not sure how to troubleshoot this.