JScript Compiler Options Listed by Category
The following compiler options are sorted by category.
Compiler Options
Output Files
Option |
Purpose |
---|---|
Specifies output file name. |
|
Specifies the format of the output file using one of three options:/target:exe/target:library/target:winexe. |
.NET Framework Assemblies
Option |
Purpose |
---|---|
Automatically references assemblies if they have the same name as an imported namespace or as a type annotation when declaring a variable. |
|
Specifies the location of assemblies referenced via /reference. |
|
Does not import standard library (mscorlib.dll). |
|
Imports metadata from a file that contains an assembly. |
Debugging/Error Checking
Option |
Purpose |
---|---|
Emits debugging information. |
|
Specifies code page for compiler messages. |
|
Helps to make sure that all overrides are explicit. |
|
Sets warning level. |
|
Promotes warnings to errors. |
Preprocessor
Option |
Purpose |
---|---|
Defines preprocessor symbols. |
Resources
Option |
Purpose |
---|---|
Creates a link to a managed resource. |
|
Embeds a managed resource in an assembly. |
|
Inserts a Win32 resource into the output file. |
Miscellaneous
Option |
Purpose |
---|---|
Specifies a response file. |
|
Specifies the code page to use for all source code files in the compilation. |
|
Produces an output file optimized for speed but that does not support certain language features from previous releases. |
|
Lists compiler options to stdout. |
|
Suppresses compiler banner information. |
|
Specifies the platform type. |
|
Specifies whether the print statement shall be defined. |
|
Displays compiler output using UTF-8 encoding. |
See Also
Concepts
JScript Compiler Options Listed Alphabetically
Building from the Command Line