How to download, install Barcode Generator C# library
on .NET projects?
How to generate linear, 2d barcode images in C# asp.net, WPF with C# source code
Create, Print barcode labels in C# ASP.NET Web, WinForms, WPF desktop application with free C# source code project
In this page, you will learn how to install C# Barcode Generator library into your Visual Studio .NET projects through downloaded zip file or NuGet package.
How to create linear, 2d barcodes in ASP.NET and Windows application using C#
Install Barcode Generator on .NET 5+ Projects

Top
For WinForms, WPF desktop apps
- Add OnBarcode.Barcode.Common.dll from folder "{downloaded package}/dll/NetStandard2.0/" to .NET project reference.
- You need manually add System.Drawing.Common from "NuGet Package Manager" to .NET Core project reference.
Through NuGet
> Install-Package OnBarcode.Barcode.Generator
For ASP.NET Core web apps
For web apps running on Windows Apps
- Add OnBarcode.Barcode.Common.dll and OnBarcode.Barcode.ASPNETCore.dll
(for ASP.NET Core web streaming only) from folder "{downloaded package}/dll/NetStandard2.0/" to .NET project reference.
- You need manually add System.Drawing.Common from "NuGet Package Manager" to .NET Core project reference.
Through NuGet
> Install-Package OnBarcode.Barcode.Generator.AspNet.Core
For web apps running on non-Windows (Linux, MacOS, ...)
- Add OnBarcode.Barcode.Common.Skia.dll and OnBarcode.Barcode.ASPNETCore.Skia.dll (for ASP.NET Core web streaming only) from folder "{downloaded package}/dll/NetStandard2.0/" to .NET project reference.
- You need manually add SkiaSharp from "NuGet Package Manager" to .NET Core project reference.
Through NuGet
> Install-Package OnBarcode.Barcode.Generator.AspNet.Core.SkiaSharp
For .NET Class library, Console, and other app
For .NET Core (5+) apps on Windows Apps
- Add OnBarcode.Barcode.Common.dll from folder "{downloaded package}/dll/NetStandard2.0/" to .NET project reference.
- You need manually add System.Drawing.Common from "NuGet Package Manager" to .NET Core project reference.
Through NuGet
> Install-Package OnBarcode.Barcode.Generator
For .NET Core apps on non-Windows (Linux, MacOS, ...)
- Add OnBarcode.Barcode.Common.Skia.dll from folder "{downloaded package}/dll/NetStandard2.0/" to .NET project reference.
- You need manually add SkiaSharp from "NuGet Package Manager" to .NET Core project reference.
Through NuGet
> Install-Package OnBarcode.Barcode.Generator.SkiaSharp
Install Barcode Generator on .NET Framework (4.x, 3.x, 2.x) Projects

Top
For .NET Framework 4.x applications
- Add OnBarcode.Barcode.ASPNET.dll or OnBarcode.Barcode.WinForms.dll from folder "{downloaded package}/dll/Net40/" to .NET project reference.
For .NET Framework 3.x or 2.x applications
- Add OnBarcode.Barcode.ASPNET.dll or OnBarcode.Barcode.WinForms.dll from folder "{downloaded package}/dll/Net20/" to .NET project reference.
Install through NuGet
For ASP.NET Framework web application
> Install-Package OnBarcode.Barcode.Generator.AspNet.Framework
For Windows Forms, WPF, Console (.NET Framework) application
> Install-Package OnBarcode.Barcode.Generator.WinForms.Framework
Install Licensed Barcode Generator C# Library

Top
Install licensed barcode generator dlls are the same as trial version dlls. However you need remove trial version dlls from your .NET project resouces first.
- Remove all trial version barcode generator dlls from your .net project reference
- Clean your .NET project cache data files, which may contail trial version of dlls
- Install licensed dlls as described above
After you have installed the OnBarcode
Barcode Generator C# library, you can start enable barcode generation features in your .NET projects.
We have provided step by step barcode library setup tutorials for .NET projects.