Am I missing an assembly reference?
Posted on 2003-10-26
Hi all. I don't use Visual Studio, only the C# compiler in .NET Framework, on Windows XP. I like to do a small program that uses the XML classes, but I get this error:
vp.cs(3,14): error CS0234: The type or namespace name 'Xml' does not exist in
the class or namespace 'System' (are you missing an assembly reference?)
And here's the line that is supposed to be in error:
Another time, I was acctually able to solve this by adding an explicit reference on the command line, but since I plan to make a lot of small programs like this, I'd rather not have to type this reference every time (and besides, I don't remember how to do it). I guess there's a way to add the reference by using the .NET configuration tools, and that's my question. How?