[MonoDevelop] What is the command under Linux to build .cs files corresponding to "csc.exe" under Windows?

Ian Norton-Badrul ian.norton-badrul at thales-esecurity.com
Tue Mar 1 14:21:20 EST 2011


Hello,

If you have your .sln file you can run:

$ mdtool build mysolution.sln

If you just want to invoke the compiler manually you can run the mono
compilers directly.

* mcs - old .Net 1.0 
* gmcs - .Net 2 -> 3.5
* smcs - moonlight

there is another one for .Net 4.0 but I can't remember what it is :)

Ian

On Tue, Mar 01, 2011 at 07:13:44PM +0000, jiapei100 wrote:
> 
> Hi, all:
> 
> Some times, I would like to build .cs files by command line under Linux,
> rather than using MonoDevelop IDE.
> Can anybody tell me what is the command to build .cs files under Linux,
> corresponding to "csc.exe" when using Visual Studio command prompt under
> Windows?
> 
> Cheers
> JIA
> 
> 
> -----
> Welcome to Vision Open
> http://www.visionopen.com
> --
> View this message in context: http://mono.1490590.n4.nabble.com/What-is-the-command-under-Linux-to-build-cs-files-corresponding-to-csc-exe-under-Windows-tp3330409p3330409.html
> Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list

-- 
Ian Norton
Software Engineer
+44 1223 723 600

Thales e-Security Limited is incorporated in England and Wales with company
registration number 2518805. Its registered office is located at 2 Dashwood
Lang Road, The Bourne Business Park, Addlestone, Nr. Weybridge, Surrey KT15
2NX.

The information contained in this e-mail is confidential. It may also be
privileged. It is intended only for the stated addressee(s) and access to it by
any other person is unauthorised. If you are not an addressee or the intended
addressee, you must not disclose, copy, circulate or in any other way use or
rely on the information contained in this e-mail. Such unauthorised use may be
unlawful. If you have received this e-mail in error, please inform us
immediately on +44 (0)1223 723600 and delete it and all copies from your
system.  Commercial matters detailed or referred to in this e-mail are subject
to a written contract signed for and on behalf of Thales e-Security Limited.                                 


More information about the Monodevelop-list mailing list