IronBarCode Advanced Installation

This article was translated from English: Does it need improvement?
Translated
View the article in English

IronBarCode is a powerful library, and we aim to support as many environments as possible. To achieve this, we package files separately for different platforms. A single, all-in-one package would lead to unnecessary downloads for most users. Instead, IronBarCode provides advanced tools to install the library specifically for your target environment.

Instead of installing the IronBarCode NuGet Package, we can search for specific packages on NuGet. The functionality and API of all packages remain the same; however, the way they develop might be slightly different.

This article aims to provide a clear comparison and acts as a recommended guide to suggest the most optimal IronBarCode that fits your needs!

BarCode NuGet Package

Windows Logo related to BarCode NuGet Package Nuget related to BarCode NuGet Package Docker related to BarCode NuGet Package Azure 1 related to BarCode NuGet Package Amazon Web Services related to BarCode NuGet Package Ubuntu V1 related to BarCode NuGet Package

Most commonly used. Configured to get you up and running in Visual Studio as quickly as possible. Suitable for most projects.

PM > Install-Package BarCode

  • Contains BarCode.Slim
  • Contains BarCode.Detection
  • Contains IronSoftware.ReaderInternals.Windows, a Windows-specific dependency

BarCode.Slim NuGet Package

Nuget related to BarCode.Slim NuGet Package

Does not include the Machine Learning feature for detecting barcodes.

PM > Install-Package BarCode.Slim

  • All other packages reference this package.
  • Contains the actual IronBarCode.dll.
  • Does NOT include Windows, Linux, or macOS-specific dependencies.
  • Does NOT include Barcode.Detection.

请注意This package contains the smallest footprint and doesn't reference other packages. However, if the input has a large amount of digital noise, please consider adding Barcode.Detection for better results.

BarCode.Detection NuGet Package

Nuget related to BarCode.Detection NuGet Package

An advanced package that utilizes Machine Learning for more accurate barcode detection, allowing developers to freely customize the parameters to suit their needs.

PM > Install-Package BarCode.Detection

  • Supports all platforms.
  • Included in the base BarCode package.

BarCode.Linux

Linux V1 related to BarCode.Linux Debian related to BarCode.Linux Ubuntu related to BarCode.Linux Centos related to BarCode.Linux Nuget related to BarCode.Linux Azure 1 related to BarCode.Linux Amazon Web Services related to BarCode.Linux Docker related to BarCode.Linux

Designed with cloud and Linux-based OS in mind, works particularly well for AWS & Lambda, Azure Functions, and WebApps in Linux mode. To set it up for Linux, check out this guide.

PM > Install-Package BarCode.Linux

  • Contains BarCode.Slim
  • Contains BarCode.Detection
  • Contains IronSoftware.ReaderInternals.Linux, a Linux-specific dependency

BarCode.MacOs & BarCode.MacOs.ARM NuGet Packages

Mac Client related to BarCode.MacOs & BarCode.MacOs.ARM NuGet Packages Nuget related to BarCode.MacOs & BarCode.MacOs.ARM NuGet Packages

These two packages are specifically tailored for macOS & macOS.ARM users to allow developers to utilize and integrate IronBarCode in their macOS-based applications. For more information, please refer to this setup guide for macOS.

Install-Package BarCode.MacOs PM > Install-Package BarCode.MacOs.ARM

  • Contains BarCode.Slim
  • Contains BarCode.Detection
  • Contains IronSoftware.ReaderInternals.iOS or IronSoftware.ReaderInternals.MacOs.ARM, a macOS-specific dependency

BarCode.iOS NuGet Package

?size=72&id=20822&format=png&color=000000 related to BarCode.iOS NuGet Package Nuget related to BarCode.iOS NuGet Package

IronBarCode offers an iOS package that is designed specifically for mobile-based iOS applications. Easily integrate IronBarCode as a standalone barcode reader or integrate with existing applications. For more information on how to set up IronBarCode on iOS, please refer to this setup guide.

PM > Install-Package BarCode.iOS

  • Contains BarCode.Slim
  • Contains IronSoftware.ReaderInternals.iOS, an iOS-specific dependency

BarCode.Android NuGet Package

?size=72&id=P2AnGyiJxMpp&format=png&color=000000 related to BarCode.Android NuGet Package Nuget related to BarCode.Android NuGet Package

Similarly, IronBarCode also offers an Android experience, allowing developers to develop on both platforms with no barriers. For more information on how to set up IronBarCode on Android, please refer to this setup guide.

PM > Install-Package BarCode.Android

  • Contains BarCode.Slim
  • Contains IronSoftware.ReaderInternals.Android, an Android-specific dependency

常见问题解答

如何使用 NuGet 安装特定平台版本的条形码库?

您可以通过选择适合您的开发环境的包,使用 NuGet 安装 IronBarCode 库的特定平台版本。这可以确保优化性能并减少不必要的下载。

BarCode.Slim 包的核心功能是什么?

BarCode.Slim 包提供了必要的 IronBarCode.dll,具有最小的占用空间,不包含 Windows、Linux 或 macOS 的特定依赖项。它非常适合于噪音较小的环境,但缺乏机器学习功能来检测条形码。

BarCode.Detection 包如何改善条形码检测?

BarCode.Detection 包通过机器学习算法增强条形码检测,提供更准确的结果,适用于所有平台。它包含在基础 BarCode 包中,并允许自定义检测参数。

是什么使得 BarCode.Linux 包适合于 Linux 环境?

BarCode.Linux 包针对云环境和基于 Linux 的操作系统(如 AWS 和 Azure Functions)进行了优化。它包含了特定于 Linux 的依赖项,以确保在这些环境中的最佳性能。

macOS 包对于开发人员的区别是什么?

BarCode.MacOs 包专为 macOS 应用程序设计,而 BarCode.MacOs.ARM 专为 macOS ARM 架构设计。这两个包都包含了特定于 macOS 的依赖,以确保无缝集成。

在移动应用程序中是否支持条形码功能?

是的,IronBarCode 为移动平台提供了特定的包,例如针对 iOS 的 BarCode.iOS 和针对 Android 的 BarCode.Android,每个包都包含了特定于平台的依赖项。

我是否需要安装多个包才能获得完整的条形码功能?

不,您只需要安装与目标环境对应的包。每个包都为特定平台进行了专业化设计,但提供相同的核心条形码功能。

我在哪里可以找到安装条形码库在不同平台上的设置指南?

关于在各种平台(包括 Linux、macOS、iOS 和 Android)上安装 IronBarCode 的设置指南可以在 Iron Software 网站上找到。这些指南提供分步的安装和配置说明。

使用特定平台的条形码包有哪些好处?

使用特定平台的包可以避免不必要的下载并优化性能。每个包都根据特定操作系统的依赖进行了定制,以增强集成和功能。

IronBarCode 如何在不同平台上优化性能?

IronBarCode 通过为不同平台提供独立的包,每个包都有定制的依赖项来优化性能。这种方法有助于减少开销并提高在各种开发环境中的效率。

IronBarCode 与 .NET 10 兼容吗?

是的。IronBarCode 支持 .NET 10 以及 .NET 9、8、7、6、5、Core、Standard 和 Framework(4.6.2+),可在最新的 Microsoft .NET 版本中使用。它在其所有平台和功能特定的 NuGet 包中都保持了完全的兼容性。([ironsoftware.com](https://ironsoftware.com/csharp/barcode/?utm_source=openai))

Curtis Chau
技术作家

Curtis Chau 拥有卡尔顿大学的计算机科学学士学位,专注于前端开发,精通 Node.js、TypeScript、JavaScript 和 React。他热衷于打造直观且美观的用户界面,喜欢使用现代框架并创建结构良好、视觉吸引力强的手册。

除了开发之外,Curtis 对物联网 (IoT) 有浓厚的兴趣,探索将硬件和软件集成的新方法。在空闲时间,他喜欢玩游戏和构建 Discord 机器人,将他对技术的热爱与创造力相结合。

准备开始了吗?
Nuget 下载 1,935,276 | 版本: 2025.11 刚刚发布