You probably need to add System.Xml to your project assembly
references.
Right-click on References in the Solution browser and choose
"Edit
References...". Then make sure System.Xml is
selected.
On Tue, Mar 18, 2008 at 7:20 PM, Robert Sherwood
<robert.sherwood gmail.com> wrote:
> Trying to build the following code in monodevelop:
>
> using System;
>
> namespace XMLTest
> {
> class MainClass
> {
> public static void Main(string[] args)
> {
> new System.Xml.XmlDocument();
> Console.WriteLine("Hello
XML!");
> }
> }
> }
>
> I receive the following build error: 'The type or
namespace name `Xml' does
> not exist in the namespace `System'. Are you missing an
assembly reference?'
>
> However, using 'mcs', the code compiles and executes.
Is the MONO_PATH
> different in monodevelop, or something? How can I
check?
>
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-li
st
>
>
_______________________________________________
Monodevelop-list mailing list
Monodevelop-list lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-li
st
|