On the Script view toolbar, click
(Manage external assemblies loaded for script) to access the Assembly Manager dialog box 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.
|
Assembly Manager dialog box |
Use the list on the left to filter the types of assemblies:
Click
in the column header to filter the rows as needed. Click here for more information about using the filter tool.
How you store your assembly files matters, so that the files are accessible at run-time.
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.
At run-time all assembly files must be in one of two locations: co-located in the same folder as the Canvas application file, or in the GAC. Assemblies stored in any other location will be inaccessible to Canvas (or Canvas View) and may cause your screen to fail.