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

TOPIC: Shared mode

Shared mode 2 years 5 months ago #1

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 2 years 5 months ago #2

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
This email address is being protected from spambots. You need JavaScript enabled to view it.

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

Last edit: by robert.
  • Page:
  • 1