[Mono-list] .exe filename with multiple .cs files
Ricardo Markiewicz <email@example.com>
Fri, 8 Oct 2004 12:25:49 -0300
you need to pass "-o program.exe" to mcs to specify the output file.
On Fri, 8 Oct 2004 17:43:52 +0530, Harsh Busa <firstname.lastname@example.org> wrote:
> hello all
> i m learning C# with mono. pretty novice. i was trying example 2 on
> [C # tutorial -> Properties ]
> briefly speaking it has these files are compiled into a single
> compilation but in this tutorial, each file is compiled individually
> and its resulting assembly referenced by the next compilation:
> abstractshape.cs: The Shape class that contains an abstract Area property.
> shapes.cs: The subclasses of the Shape class.
> shapetest.cs: A test program to display the areas of some
> Shape-derived objects. [ this has the main ]
> when compiled with mcs abstractshape.cs shapes.cs shapetest.cs [ mono
> c# compiler 22.214.171.124 ] it gives me abstractshape.exe [ basically the
> first argument ]
> while when compiled with MS Visual C# compiler 7.00.9466 it correcty
> gives me shapetest.exe irresptive of the order in which i specify the
> files .
> i dont know if it is supposed to be this way or is there anything
> irregular with mono c# compiler
> please enlighten
> Mono-list maillist - Monoemail@example.com