RtsSettings.json
- Last UpdatedMar 17, 2023
- 1 minute read
Global configuration settings reside in the RtsSettings.json file located in the bin folder. Both the rts command-line tool and the ScriptHost process use this file. The tools look for the file in the same folder where they reside (that is, the bin folder). You must keep the RtsSettings.json file in the same folder as the rts command-line tool and the ScriptHost process.
File paths can be absolute or relative. Relative file paths are relative to the location of the settings file. According to JSON syntax, you must escape backslashes by using two backslashes. This is required for file paths.
|
Entry |
Default |
Description |
|---|---|---|
|
rts_servers |
default |
The rts_server objects are defined here. |
|
script_hosts |
default |
The script_host objects are defined here. |
|
csx_autoimports |
(no additional entries) |
Semicolon-delimited list of C# imports that are automatically included. This eliminates the need to import the C# in the .csx file (with the #using syntax). |
|
csx_autoreferences |
- |
Semicolon-delimited list of .NET assembly file names (full file path) that are used to locate references specified by #r. |