mirror of https://github.com/CrimsonTome/tldr.git
17 lines
426 B
Markdown
17 lines
426 B
Markdown
# 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 ...}}`
|