0 out of 1 rated this helpful - Rate this topic

Building from the Command Line

The compiler can be started at the command line by typing the name of its executable (jsc.exe) on the command line. For more information, see Compiling JScript Code from the Command Line.

  • Compiles File.js producing File.exe:

    jsc File.js 
    
  • Compiles File.js producing File.dll:

    jsc /target:library File.js
    
  • Compiles File.js and creates My.exe:

    jsc /out:My.exe File.js
    
  • Compile test.js and create a .dll:

    jsc /target:library test.js
    
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.