mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 05:05:59 +02:00
parent
531769ac21
commit
53cb52dbbb
1 changed files with 16 additions and 0 deletions
16
pages/common/mcs.md
Normal file
16
pages/common/mcs.md
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# 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 ...}}`
|
Loading…
Add table
Reference in a new issue