2. How to add the library
2.1. Adding the library to project
Library supports Nuget package and dll file.Please link library that suits your application configuration.
Please download and confirm the newest SDK and Library from our Global Support Site.
2.1.1. Use Nuget package
Install the following packages.
https://www.nuget.org/packages/StarMicronics.StarIO.Desktop/
https://www.nuget.org/packages/StarMicronics.StarIOExtension.Desktop/
https://www.nuget.org/packages/StarMicronics.StarIODeviceSetting.Desktop/
(If the library with a strong named is used)
https://www.nuget.org/packages/StarMicronics.StarIO.Desktop.StrongName/
https://www.nuget.org/packages/StarMicronics.StarIOExtension.Desktop.StrongName/
https://www.nuget.org/packages/StarMicronics.StarIODeviceSetting.Desktop.StrongName/
2.1.2. Manually adding the link
In Solution Explorer, select the project.
On the Project menu, click Add Reference. The Add Reference dialog box opens.
Click Reference Button and select the libraries in the libs folder of StarPRNT SDK, then click OK.
Library
StarIO.dll
StarIOExtension.dll
StarIODeviceSetting.dll
Important
*1: After the build, place the the following files in the same location as the above libraries (StarIO.dll/StarIOExtension.dll/StarIODeviceSetting.dll).
For 32bit application
StarIOPort_x86.dll
GenerateBarcode_x86.dll
For 64bit application
StarIOPort_x64.dll
GenerateBarcode_x64.dll
*2: If the library with a strong named is used, select the library (StarIO.dll/StarIOExtension.dll/StarIODeviceSetting.dll) within the ‘libs_strong_named’ folder.
Note
If using a StarIODeviceSetting.dll, add also a StarIO.dll in the project reference.