[Mono-list] compiling more than one file

Chris Aitken chris at ion-dreams.com
Thu Dec 8 05:33:20 EST 2005

> Hello,
> I am quite a newbie and I have a problem.
> I am using mono on windows and I want to use XEmacs for programming. 
> What I don't get is, when I am creating a class in an exra 
> file, I cannot use it in my main file.
> How can I tell the compiler, that it has to look in the other 
> file for the class?

To compile 3 file (file1,file2,filn) into a single exe:

$ mcs -r:dlls file1.cs file2.cs filen.cs


This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

More information about the Mono-list mailing list