csc

Verified for current stable LTS

Csc Commands

Csc command syntax with verified terminal examples.

Commands

14 commands for Csc

csc

Csc Command: Compile Csharp Files

csc <path/to/input_file1.cs path/to/input_file2.cs ...>
csc

Csc Command: Compile Csharp Files To Cil Executable

csc <path/to/input_file1.cs path/to/input_file2.cs ...>
csc

Csc Command: Compile Csharp To Dll Library

csc /target:library <path/to/input_file.cs>
csc

Csc Command: Compile To Dll

csc /target:library <path/to/input_file.cs>
csc

Csc Command: Embed Resource

csc /resource:<path/to/resource_file> <path/to/input_file.cs>
csc

Csc Command: Embed Resource In Csharp

csc /resource:<path/to/resource_file> <path/to/input_file.cs>
csc

Csc Command: Generate Xml Documentation

csc /doc:<path/to/output.xml> <path/to/input_file.cs>
csc

Csc Command: Reference Another Assembly

csc /reference:<path/to/library.dll> <path/to/input_file.cs>
csc

Csc Command: Reference Assembly

csc /reference:<path/to/library.dll> <path/to/input_file.cs>
csc

Csc Command: Specify Icon

csc /win32icon:<path/to/icon.ico> <path/to/input_file.cs>
csc

Csc Command: Specify Icon For Csharp Executable

csc /win32icon:<path/to/icon.ico> <path/to/input_file.cs>
csc

Csc Command: Specify Output Filename

csc /out:<path/to/file> <path/to/input_file.cs>
csc

Csc Command: Strong Name Assembly

csc /keyfile:<path/to/keyfile> <path/to/input_file.cs>
csc

Csc Command: Strongly Name Assembly With Keyfile

csc /keyfile:<path/to/keyfile> <path/to/input_file.cs>

Suggest a Csc Command

Submit missing workflows, corrections, or verified alternatives for this tool.

FAQ

Coverage: Focused examples for common Csc workflows.

Verified version: current stable LTS.

Verification: Test commands in a disposable workspace and submit notes for edge cases.