[Mono-dev] Class import working in mono but not .net

SigmaX scottclansman at cwazy.co.uk
Mon Oct 3 15:32:54 EDT 2005


    Hey;
I'm a C# newbie, and have constructed my first program that uses a 
seperate runtime and library.  It works all fine and dandy in Mono.  
However, when I try to run it on .net it complains :-\.  I don't have a 
Windows PC handy at the moment to post the exception, but here's how the 
code is setup (Yes, CDurry is set up as a reference):

File for the .exe project:

    using CDurry;

    public class consdurry
    {

        public static void Main()
            {   
            //Load classes from CDurry library
            CDurry.coredurry coredurry = new  CDurry.coredurry();
            CDurry.conecdurry conecdurry = new  CDurry.conecdurry();

<snip>

File for the .dll project:

    namespace CDurry
    {

        public class coredurry
        {
            <snip>
        }

        public class conecdurry
        {
            <snip>
        }

<snip>

   
    On running the program on .net it complains about not beind able to 
find the "cdurry" namespace.

       I'm grateful for any tips as to any errors in the code.
               SigmaX





-- 
My home page: www.sigmax.cjb.net

"Education is what remains after one has forgotten everything he learned in school"
	-Albert Einstein





More information about the Mono-devel-list mailing list