April 30, 2002 - The JScript .NET Compiler Options

The JScript .NET compiler (jsc.exe) has several options. You can find them by using the /help or /? command line options, or by using the compiler without any options. To produce a .dll file instead of the .exe file you type:

jsc /target:library hello.js

To produce an executable with a different name, say welcome.exe:

jsc /out:welcome.exe hello.js

To generate debugging information in hello.pdb type:

jsc /debug hello.js

To learn more on JScript .NET, go to Column 107, JScript .NET, Part I: The Mechanics.