mirror of
https://github.com/LOLBAS-Project/LOLBAS
synced 2024-12-27 15:28:34 +01:00
21 lines
502 B
Markdown
21 lines
502 B
Markdown
## Csc.exe
|
|
* Functions: Compile
|
|
```
|
|
|
|
csc -out:My.exe File.cs
|
|
Use CSC.EXE to compile C# code stored in File.cs and output the compiled version to My.exe.
|
|
|
|
csc -target:library File.cs
|
|
|
|
```
|
|
|
|
* Resources:
|
|
* https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/command-line-building-with-csc-exe
|
|
*
|
|
|
|
* Full path:
|
|
* C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe
|
|
* C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Csc.exe
|
|
|
|
* Notes: Thanks to ?
|
|
|