System Grab Bag

View all TLDR pages from common (or from all pages)

mcs

Mono C# Compiler. More information: https://manned.org/mcs.1.
  • Compile the specified files:
    mcs {{path/to/input_file1.cs path/to/input_file2.cs ...}}
  • Specify the output program name:
    mcs -out:{{path/to/file.exe}} {{path/to/input_file1.cs path/to/input_file2.cs ...}}
  • Specify the output program type:
    mcs -target:{{exe|winexe|library|module}} {{path/to/input_file1.cs path/to/input_file2.cs ...}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.