

NewName - the new name of a namespace to be renamed during importing OldName - the name of a namespace to be renamed during importing

If $this (or $this.name) is specified as part of it will be replaced at execution time with the main scriptįile - name of a script file to be imported at compile-time. They are equivalents of //css_import, preserve_main There are also another two aliases //css_include and //css_inc. Using more specific wildcards is arguably more practical (e.g. For example, they may match everything from the very first probing directory, which is Be careful with the wide wildcard as '.cs' as they may lead to Probing directory where the matching file(s) is found. _build.cs) the directive will only import from the first Note, if you use a wildcard in the imported script name (e.g. You can configure the script engine to do it with the following command:Ĭscs -config:set:ResolveRelativeFromParentScriptLocation = true If for whatever reason it is preferred to always resolve path expression with respect to the parent script location With respect to the process current directory. Path with respect to the location of the file containing the directive being resolved.

If a relative file path is specified with a single-dot prefix it will be automatically converted into the absolute
SCRIPT IT WIKI FULL
Thisĭirective is a full but more convenient equivalent of //css_import, preserve_main It is a logical equivalent of '#include' in C++. This directive is used to include one script into another one. This directive is available for both CLI and hosted script execution The script engine also defines another conditional symbol NETCORE to allow users to distinguish between executionsįile - name of a script file to be included at compile-time.
