Managing External Assemblies

Scripting is not supported by TWC

On the Script view toolbar, click Manage external assemblies loaded for script (Manage external assemblies loaded for script) to access the Assembly Manager where you can view and select assemblies you have loaded into your system, to make them available for use in the current script. These can include several types of assemblies available to link in for use in your Canvas screens. Once selected, an assembly file can be referenced in your script when creating or editing screens.

 

Manage external assemblies button

Manage external assemblies button

Assembly Manager

Assembly Manager

Note: If you don’t see a list of assemblies, your system may be misconfigured. See Configure Canvas for the First Time.

Use the list on the left to filter the types of assemblies:

Using the Assembly Manager

Assembly Storage

How you store your assembly files matters, so that the files are accessible at runtime. Preferably locate all your assembly files in your Canvas application folder, the same folder as your Canvas.exe application file. For most usages this is the CygNet\Bin folder. Alternatively, you can share assemblies by installing them into the Global Assembly Cache (GAC) of your .NET Framework, if necessary. If you have access to the Windows Software Development Kit (SDK), you can use the Global Assembly Cache tool (Gacutil.exe) to facilitate deployment of system assemblies to your GAC.

Note: Custom assemblies do not have to be stored in the CygNet\Bin folder or the GAC.