ScriptFileContext.BasePath The base path used for / and ~/ resolution If not specified the document's path (for files) or the current directory (for strings) is used public string BasePath