CS-Script 3.20.0

Add Search Directory

/dir:<directory 1>,<directory N>  

Instead of having script/assembly probing directories specified in global config file (css_config.xml) you can add them only for a particular script execution. This can be achieved by specifying /dir switch:

cscs /dir:C:\MyLibraries myScript.cs

The command above executes the myScript.cs script. It also instructs the script engine to include C:\MyLibraries in script/assembly probing.

See Also

Command-line interface | Using .NET assemblies