IronBarCode Advanced Installation & .NET Compatibility

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

IronBarCode 是一個功能強大的函式庫,我們的目標是支援盡可能多的環境。 為了實現這一點,我們將文件針對不同的平台分別打包。 對於大多數用戶而言,單一的一體化軟體包會導致不必要的下載。 IronBarCode 則提供了進階工具,可以專門為您的目標環境安裝程式庫。

您也可以在 NuGet 上搜尋特定套件,而非安裝 IronBarCode NuGet 套件。 所有軟體包的功能和 API 均保持不變;然而,它們的更新方式可能略有不同。

本文旨在提供清晰的比較,並作為推薦指南,幫助您找到最適合需求的 IronBarCode 套件。

.NET Version Compatibility

IronBarCode targets .NET Standard 2.0 and supports .NET 10, 9, 8, 7, 6, 5, .NET Core 3.x and 2.x, and .NET Framework 4.6.2+. All platform-specific packages listed below share the same framework compatibility, so the .NET version you target does not affect which package you choose — that decision is based on your operating system and deployment environment.

條碼 NuGet 套件

Windows Logo related to 條碼 NuGet 套件 Nuget related to 條碼 NuGet 套件 Docker related to 條碼 NuGet 套件 Azure 1 related to 條碼 NuGet 套件 Amazon Web Services related to 條碼 NuGet 套件 Ubuntu V1 related to 條碼 NuGet 套件

最常用。 配置旨在讓您盡快在 Visual Studio 中啟動並執行。 適用於大多數項目。

PM > 安裝套件 BarCode

  • 包含 BarCode.Slim
  • 包含條碼檢測
  • 包含 IronSoftware.ReaderInternals.Windows ,這是一個 Windows 獨特的相依性。

BarCode.Slim NuGet 套件

Nuget related to BarCode.Slim NuGet 套件

不包含用於偵測條碼的機器學習功能。

PM > Install-Package BarCode.Slim

  • 所有其他軟體包都引用此軟體包。
  • 包含實際的 IronBarCode.dll 檔案。
  • 不包含 Windows、Linux 或 macOS 特有的依賴項。
  • 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.

條碼偵測 NuGet 套件

Nuget related to 條碼偵測 NuGet 套件

一款利用機器學習技術實現更精確條碼掃描的進階軟體包,允許開發人員自由自訂參數以滿足需求。

PM > 安裝包 BarCode.Detection

  • 支援所有平台。
  • 包含在基本條碼軟體包中。

條碼.Linux

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

專為雲端和基於 Linux 的作業系統而設計,特別適用於 AWS 和 Lambda、Azure Functions 以及 Linux 模式下的 Web 應用程式。 若要在 Linux 系統上進行設置,請查看本指南

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 套件

Mac Client related to BarCode.MacOs 和 BarCode.MacOs.ARM NuGet 套件 Nuget related to BarCode.MacOs 和 BarCode.MacOs.ARM NuGet 套件

這兩個軟體包專為 macOS 和 macOS.ARM 用戶量身定制,使開發人員能夠在 macOS 應用程式中使用和整合 IronBarCode 的條碼生成功能。 更多資訊,請參閱此 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 套件

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

IronBarCode 提供了一個專為行動端 iOS 應用程式設計的 iOS 軟體套件,支援條碼讀取與建立條碼功能。 IronBarCode 可輕鬆整合為獨立的條碼讀取器,也可與現有應用程式整合。 有關如何在 iOS 上設定 IronBarCode 的更多資訊,請參閱此設定指南

PM > Install-Package BarCode.iOS

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

BarCode.Android NuGet 套件

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

同樣,IronBarCode 也提供 Android 支援,使開發人員能夠在兩個平台上無縫開發。 有關如何在 Android 上設定 IronBarCode 的更多資訊,請參閱此設定指南

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 提供特定於移動平台的套件,例如 BarCode.iOS 用於 iOS 和 BarCode.Android 用於 Android 應用程式,每一個都包含平台專用的相依性。

我需要安裝多個套件以獲得完整的條碼功能嗎?

不,你只需安裝與目標環境對應的套件。每個套件都專門針對特定平台,但提供相同的核心條碼功能。

在哪裡可以找到在不同平台上安裝條碼庫的設定指南?

IronBarCode 在各個平台(包括 Linux、macOS、iOS 和 Android)的安裝設定指南可以在 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 熱衷於創建直觀且美觀的用戶界面,喜歡使用現代框架並打造結構良好、視覺吸引人的手冊。

除了開發之外,Curtis 對物聯網 (IoT) 有著濃厚的興趣,探索將硬體和軟體結合的創新方式。在閒暇時間,他喜愛遊戲並構建 Discord 機器人,結合科技與創意的樂趣。

準備好開始了嗎?
Nuget 下載 2,143,620 | 版本: 2026.4 剛剛發布
Still Scrolling Icon

還在捲動嗎?

想要快速證明? PM > Install-Package BarCode
執行範例 看您的字串變成 BarCode。