Products | Versions |
---|---|
Spotfire Statistica | 13.2 and higher |
There are 3 different ways available to apply 3rd party library in C# workspace scripting node:
1. The assembly can be added to the Global Assembly Cache and then referenced directly in the C# script as follows:
#r Spotfire.Dxp.Data.Formats.Sbdf
To add an assembly to the GAC, please see here.
2. The assembly can be placed in Statistica's installation folder and then the DLL can be referenced in the C# script as follows:
# "Spotfire.Dxp.Data.Formats.Sbdf.dll"
3. The assembly can be placed in a disk location which is accessible to Statistica (for e.g. C:\Folder1\Folder2\Folder3) and then referenced in the script as follows:
#r "C:\Folder1\Folder2\Folder3\Spotfire.Dxp.Data.Formats.Sbdf.dll"
The #r directive(s) have to be placed at the top of the C# script.
Example: