Redist folder
The Redistributable folder in the Scope View folder (TwinCAT.Functions.TE130X-Scope-View) contains all libraries for the implementation of a ScopeView control in your own .NET application. All components contained here are installed by the Setup in the Global Assembly Cache (GAC) and also loaded from there when executing.
The Redist folder has the advantage that, when developing one's own applications, the referenced components and their dependents do not have to be laboriously sought in the GAC. All the files are located in this central folder so that development time is saved and unexpected version conflicts are avoided.
There are two possible scenarios for the installation of an application with Scope Control integration on another device.
- In the ideal case the same scope version is installed on the target system as on the development system (build system). The libraries are then automatically loaded from the GAC in the correct version. Additional copying of the Redist folder is unnecessary (but is recommended, as only in this case the Scope Server is always available in the correct version).
- Only a Scope Server in the version corresponding to the Scope Control is installed on the target system.
- Registration of the sources used on the development system in the GAC. All components in the Redist folder should be registered on the target system, irrespective of whether they are directly referenced in one's own application.
- The libraries of the Redist folder must be placed on the executive system next to the .exe. All components in the Redist folder should be provided on the target system, irrespective of whether they are directly referenced in one's own application.