compile c sharp code in console- mono - windows 7 - 64 bit

2,780 views · Published 6 October 2016 · 4:21 · Indexed 30 September 2026

Channel: Godarium · 2016 · People & Blogs

Watch on YouTube

compile c sharp  with console  and Mono

download and install

http://www.mono-project.com/download/

---

open installation folder

C:\Program Files\Mono\bin

add to path  :  ;C:\Program Files\Mono\bin

dont forget that ;

now run compile
--------------------

type: mcs "filename with extension... 

run: click on / run  throught console.. 
-----

you can  choose name of  your exe file  with this:

mcs "filename".cs  -out:"NameOfFile".exe

ex: mcs hello.ca -out:coco.exe

---------------
https://msdn.microsoft.com/fr-ca/library/78f4aasd.aspx

More from this channel