Adding References

Using the command

<!--#include ref="[file path]"-->

external references/components, such as the Windows Forms library from Microsoft (System.Windows.Forms.dll), can be added to a script.

If only the file name without path is specified, the system tries to load the reference from the "Global Assembly Cache" (GAC). If a complete path is specified, a copy of the file is created in a temporary folder and loaded from there.

Note: This command must be executed in the script according to the preprocessor directives that apply to all script languages.