Barcode Xpress for .NET Core v13.9 - Updated
NuGet Package
Getting Started > NuGet Package

This topic provides information about the following:

What are NuGet Packages?

NuGet is the package manager for the Microsoft development platform that includes .NET. NuGet packages make it easy to add, remove, and update libraries and tools in Visual Studio projects that use the .NET Framework or .NET Core.

To read more about NuGet, please visit nuget.org.

Installing NuGet

Starting with Visual Studio 2012, NuGet is included in every version of Visual Studio (except Team Foundation Server) by default. For Visual Studio 2010, you will need to install the NuGet Extension manually using the Extension Manager.

To check if your copy of Visual Studio already has the NuGet extension, in the Visual Studio Tools menu, look for Library Package Manager (VS2012) or NuGet Package Manager (VS2015).

If your copy of Visual Studio does not already have the Library Package Manager (NuGet) extension, you can install it using the Extension Manager. See https://docs.nuget.org/consume/installing-nuget for details.

Adding Accusoft NuGet Packages

All of our packages can be found at nuget.org, which is the central package repository used by all package authors and consumers. The NuGet Package Manager is configured by default to use nuget.org for packages' sources.

To add NuGet packages into your application:

  1. Open the NuGet Package Manager in Visual Studio using one of the following methods:
    • Tools > Library Package Manager (VS2012) or NuGet Package Manager (VS2015) > Manage NuGet packages for solution
    • Right-click on the project or solution in the Solution Explorer and choose Manage NuGet packages
  2. In the opened window make sure that Package source is set to nuget.org and find the required package from the list of packages. See the Barcode Xpress .Net Core NuGet Packages table below to determine which package to install. You can also type "Accusoft.BarcodeXpress.NetCore" in the search box and install the corresponding package by clicking the install button.
  3. After selecting and installing the required package(s), you should see the newly added assemblies in your application's References folder. If your selected package requires native binaries or additional resources, they will be copied to the application's Output directory after building the project.
  4. Add using [namespace]; to any CS/VB file where you want to reference these libraries.

To learn more, we also recommend following the official tutorials available at nuget.org: https://docs.nuget.org/consume/package-manager-dialog

Adding Local NuGet Packages to Your Project

Barcode Xpress .Net Core ships as a zip file that contains sample code, licensing utilities, our DLL, and the NuGet package. You could use the local NuGet package instead of the one on nuget.org.

Command Line

dotnet add samples/ReadBarcodes package -s /home/admin/bin/ Accusoft.BarcodeXpress.NetCore

Visual Studio

  1. Open Visual Studio and navigate to one of the following:
    • Tools > Library Package Manager (VS2012)
    • NuGet Package Manager (VS2015) > Package Manager Settings
  2. Click Package Sources and then click the green "+" to add a new source. Give it a name and location on your machine, or a URL.
  3. Click OK.

Barcode Xpress .NET Core NuGet Packages

Barcode Xpress .Net Core NuGet packages provide all the necessary functionality for the package they describe. However, if you want to extend the package capabilities with functionality from other packages, you need to install those corresponding packages, too.

Package Name Description Assemblies Package Dependencies
Accusoft.BarcodeXpress.NetCore Provide support for detecting, reading and writing more than 30 types of barcodes with speed and accuracy. All System.Drawing.Common
Is this page helpful?
Yes No
Thanks for your feedback.