Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Shared mode 13 Oct 2016 11:48 #449

  • Otto
  • Otto's Avatar
  • Topic Author


  • Posts: 174
  • Where is shared mode settings value stored? I thought it would be in the rsp file.
    Edit: I see that it is in the .xsproj file, but I don't see a relation to the rsp file.
    How does the cmd compiler link the .xsproj file?

    Please Log in or Create an account to join the conversation.

    Last edit: by Otto.

    Shared mode 13 Oct 2016 12:09 #450

    • robert
    • robert's Avatar


  • Posts: 3610
  • Otto,

    The /shared command line option is NOT stored inside the response file.
    It must always be passed on the command line.
    The xcs tool "knows" about the /shared compiler option and calls the resident program XSCompiler.exe with the complete commandline except the option /shared (
    The resident program does not understand the /shared command line option)

    Btw there is another command line options that can be used together with /shared and which is also not sent to XSCompiler.exe

    /keepalive:=<TimeInSeconds>

    This tells the XsCompiler.exe how long to stay in memory after the last compilation has finished.
    The default for the keepalive valus is 600 seconds (10 minutes).
    And you can also set this default in a config file if you want.
    We will include a config file with the next build.

    Robert
    XSharp Development Team
    The Netherlands

    Please Log in or Create an account to join the conversation.

    Last edit: by robert.
    • Page:
    • 1