Alintex Script references a number of system assemblies automatically.
| • | System.dll |
| • | System.Windows.Forms.dll |
| • | System.Drawing.dll |
| • | System.Xml.dll |
| • | System.Data.dll |
| • | Microsoft.VisualBasic.dll (VB.NET only) |
| • | Microsoft.JScript.dll (JScript.NET only) |
| • | Vjslib.dll (J# only) |
Additionally, a script file specified automatically references any other script files following it on the command line.
Custom Privately Deployed Assemblies
If you wish to use (reference) a privately deployed assembly from a script, then either:-
| 1. | place your private assembly in the Windows folder on your system |
or
| 2. | place AxScript / AxWscript in the same folder as your private assembly. |
and then specify the location of the assembly using the /reference option as shown in the following example:-
> axscript /reference:c:\windows\myAssembly.dll myScript.csx
The .NET framework requires that privately deployed assemblies be located in the same folder as the application (unless a configuration file is used). AxScript and AxWscript are placed into your Windows folder during installation, and it is within that folder the .NET framework expects to find any privately deployed assembly.
Hint: create a Portable Script File using the /pack command to eliminate the need to type the /reference option, and to make the script executable by double clicking on the .psf file icon
See the command line option /reference or further information.
See Also