mirror of
https://github.com/LOLBAS-Project/LOLBAS
synced 2024-12-27 23:37:58 +01:00
22 lines
503 B
Markdown
22 lines
503 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 ?
|
||
|
|