Importing a package from TWINSERV

Open the project from which you want to use a package, open Project Settings (the gear button of the Project Explorer, or Project > Project Settings…) and select Library References in the rail on the left. Select the Available Packages tab, and all packages that are on the server should be shown:

The Project Settings dialog open over the IDE, with red numbers marking the route: 1 on the Project Explorer’s Project Settings gear, 2 on the Library References item of the dialog’s rail, 3 on the Available Packages tab. That tab lists the built-in and published packages with tick boxes and Embedded and Library Symbol columns.The Project Settings dialog open over the IDE, with red numbers marking the route: 1 on the Project Explorer’s Project Settings gear, 2 on the Library References item of the dialog’s rail, 3 on the Available Packages tab. That tab lists the built-in and published packages with tick boxes and Embedded and Library Symbol columns.

If you tick one of the available packages, it will be downloaded and imported into the project:

The Enabled Libraries tab after the ticks, where CSharpishStringFormater and FilePropertyExplorer now appear marked EMBEDDED-PACKAGE below the built-in compatibility packages and OLE Automation, with their library symbols Fmt and FileProps.

Once you’re finished, press Apply Changes, which saves the project and restarts the compiler. Now you’re ready to use the package! In the example shown above I added a reference to the CSharpishStringFormater package, and I can now confirm that I can access components from the package in my code:

A code editor where typing fmt. has opened the completion list, offering the package’s members: AsciiEscapeBase, CopyCapitalisation, CurrencySFI, DateTimeSFI, DecimalSFI, EscapeSequence and more.A code editor where typing fmt. has opened the completion list, offering the package’s members: AsciiEscapeBase, CopyCapitalisation, CurrencySFI, DateTimeSFI, DecimalSFI, EscapeSequence and more.

Note: If you have any PRIVATE packages that you have published, they are only available when signed in. If you are not already signed in, you will see a yellow LOGIN to see any PRIVATE packages you’ve made button below the list, which you can press to log in:

The yellow LOGIN button at the lower right of the package list, offering to log in to see private packages

After logging in, select the Available Packages tab again to refresh the list.