[MonoDevelop] Newbie question.

Robert Sherwood robert.sherwood at gmail.com
Tue Mar 18 19:20:04 EDT 2008


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20080318/5c858365/attachment.html 


More information about the Monodevelop-list mailing list