Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Part: IV References > <jsc>—Compiles Microsoft JScript.NET programs using jsc.

<jsc>—Compiles Microsoft JScript.NET programs using jsc.

AttributeDescriptionRequired
outputOutput directory for the compilation target.True
targetOutput type (library or exe).True
debugGenerate debug output (true/false).False
defineDefine conditional compilation symbol(s). Corresponds to /d[efine]: flag.False
win32iconIcon to associate with the application. Corresponds to /win32icon: flag.False
warnaserrorInstructs the compiler to treat all warnings as errors (true/false). Default is “false.”False
mainSpecifies which type contains the Main method that you want to use as the entry point into the program.False
failonerrorDetermines whether task failure stops the build or is just reported. Default is “true.”False
verboseTask reports detailed build log messages. Default is “false.”False
ifIf true then the task will be executed; otherwise skipped. Default is “true.”False
unlessOpposite of if. If false then the task will be executed; otherwise skipped. Default is “false.”False


Example

<jsc target="exe" output="helloworld.exe" debug="true">
     <sources>
          <includes name="helloworld.js"/>
     </sources>
</jsc>


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint