Installing the library
You have to install the Jabra library in your development environment. This chapter uses Microsoft Visual Studio as the development environment.
Do this:
- Download the .NET Library for Jabra SDK for .NET. This download contains a NuGet package (file extension *.nupkg).
- Save the NuGet package in a local path.
- Open the Package Manager Console in Microsoft Visual Studio.
- Use this PowerShell command to install the library:
Install-Package Jabra.NET.Sdk
Copy Sub-components
Copy sub-components manually if you are using:
- .NET framework
Do not copy sub-components if you are using:
- .NET Core
- .NET 5 (or later)
Check the Installation
After the installation, Jabra Utilities will show up in your project structure.
Example: Jabra.Utilities/DeviceConnector
If you can see this folder, your installation has been successful.
Define Project Build
You have to copy all files in Jabra.Utilities/DeviceConnector
to the output
directory when you build your project.
You can automate this process in Microsoft Visual Studio like this:
- Open Microsoft Visual Studio
- Select all content of
Jabra.Utilities
- Set the "Copy to Output Directory" property to either
- "Copy always" or
- "Copy if newer"
To verify this configuration, check the Output/bin
folder of you project. This has to contain the folder DeviceConnector
.
Microsoft Visual Studio: You can automate the copying of files for every project build.