mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
22 lines
517 B
Plaintext
22 lines
517 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# mcs
|
|
|
|
> Mono C# Compiler.
|
|
> More information: <https://manned.org/mcs>.
|
|
|
|
- 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 ...}}`
|