[MonoDevelop] can't execute class library in mono develop

amged m.amged at ymail.com
Wed Feb 8 18:41:11 UTC 2012


I created a C# class library using visual studio and it works well in visual
studio, and when trying to execute it in mono develop I get error 
the library code:

    namespace ClassLibrary2
{
    public class Class2
    {

      public  static void dosomething() {Console.WriteLine("dfss"); }
    }
}

the code in mono develop:

namespace cons
{
    class MainClass
    {
        public static void Main (string[] args)
        {

            ClassLibrary2.Class2.dosomething();
        }
    }
}
the error 
http://mono.1490590.n4.nabble.com/file/n4370420/g9wIt.png 

--
View this message in context: http://mono.1490590.n4.nabble.com/can-t-execute-class-library-in-mono-develop-tp4370420p4370420.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-list/attachments/20120208/30dde755/attachment.html>


More information about the Monodevelop-list mailing list