Horseshoe.NET.Excel 4.0.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package Horseshoe.NET.Excel --version 4.0.4
                    
NuGet\Install-Package Horseshoe.NET.Excel -Version 4.0.4
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Horseshoe.NET.Excel" Version="4.0.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Horseshoe.NET.Excel" Version="4.0.4" />
                    
Directory.Packages.props
<PackageReference Include="Horseshoe.NET.Excel" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Horseshoe.NET.Excel --version 4.0.4
                    
#r "nuget: Horseshoe.NET.Excel, 4.0.4"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Horseshoe.NET.Excel@4.0.4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Horseshoe.NET.Excel&version=4.0.4
                    
Install as a Cake Addin
#tool nuget:?package=Horseshoe.NET.Excel&version=4.0.4
                    
Install as a Cake Tool

Horseshoe.NET icon

Horseshoe.NET.Excel

An Excel file import utility for .NET (uses NPOI)

Code Examples

// [data.xlsx]
// ╔═══╦═════════╦═════╦═══════════╦═══════════════════╗
// ║   ║    A    ║  B  ║     C     ║         D         ║
// ╠═══╬═════════╩═════╩═══════════╩═══════════════════╣
// ║ 1 ║ Name    │ Age │ Fav Color │ Fav Food          ║
// ╠═══╣─────────┼─────┼───────────┼───────────────────╢
// ║ 2 ║ Gerald  │  37 │ red       │ chewing gum       ║
// ╠═══╣─────────┼─────┼───────────┼───────────────────╢
// ║ 3 ║ Abigail │  22 │ blue      │ raspberry sorbet  ║
// ╠═══╣─────────┼─────┼───────────┼───────────────────╢
// ║ 4 ║ Fred    │ 101 │ yello     │ grapefruit        ║
// ╠═══╣─────────┼─────┼───────────┼───────────────────╢
// ║ 5 ║ Diane   │  56 │ green     │ broccoli + cheese ║
// ╚═══╩═════════╧═════╧═══════════╧═══════════════════╝

var dataImport = ImportExcelData.AsDataImport
(
    "data.xlsx",
    hasHeaderRow: true,
    autoTrunc: AutoTruncate.Zap
);
var results = dataImport.ExportToStringArrays();
// [ "Gerald" ,  "37", "red"   , "chewing gum"       ]
// [ "Abigail",  "22", "blue"  , "raspberry sorbet"  ]
// [ "Fred"   , "101", "yellow", "grapefruit"        ]
// [ "Diane"  ,  "56", "green" , "broccoli + cheese" ]
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 is compatible.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.5 256 8/24/2025
4.0.4 206 6/26/2025
4.0.3 217 5/20/2025
4.0.1 198 2/8/2025
4.0.0.2 181 2/5/2025
3.1.6 213 12/4/2024
3.1.5 201 10/24/2024
3.1.4 218 7/5/2024
3.1.3 204 6/18/2024
3.1.2.2 195 6/17/2024
3.1.2 166 6/8/2024
3.1.1 212 5/20/2024
3.1.0 231 1/27/2024
3.0.2 407 5/5/2023
3.0.1 426 2/20/2023
3.0.0.2 430 2/14/2023
3.0.0.1 391 2/13/2023
3.0.0 431 2/9/2023
2.0.4 786 11/5/2022
2.0.3 524 10/31/2022
2.0.2 692 10/14/2022
2.0.1 543 10/7/2022
2.0.0 530 10/6/2022
1.6.2 700 9/12/2022
1.6.1 627 9/6/2022
1.6.0 583 9/5/2022
1.5.9 551 9/5/2022
1.5.8 593 8/24/2022
1.5.7 641 8/12/2022
1.5.6 760 7/28/2022
1.5.5 888 6/1/2022
1.5.4 1,046 4/15/2022
1.5.3 651 4/13/2022
1.5.2 671 4/1/2022
1.5.1 646 3/30/2022
1.5.0 621 3/4/2022
1.4.4.2 650 2/12/2022
1.4.4.1 671 2/5/2022
1.4.4 659 2/4/2022
1.4.3.1 625 1/17/2022
1.4.3 654 1/17/2022
1.4.2 474 1/6/2022
1.4.1 476 12/30/2021
1.4.0 483 12/8/2021
1.3.3 594 10/22/2021
1.3.2 534 10/21/2021
1.3.1 562 10/15/2021
1.3.0 540 10/13/2021
1.2.4.2 509 8/5/2021
1.2.4 523 8/5/2021
1.2.3.2 624 5/21/2021
1.2.3 534 5/19/2021
1.2.1 551 4/7/2021
1.2.0.3 546 4/5/2021
1.2.0.1 672 3/27/2021
1.2.0 515 3/26/2021
1.1.3 591 1/20/2021
1.1.1 621 12/1/2020
1.1.0 681 9/15/2020
1.0.9.5 664 9/15/2020
1.0.9.4 646 9/14/2020
1.0.9.3 623 9/9/2020
1.0.9.2 647 9/3/2020
1.0.9.1 685 8/20/2020
1.0.9 861 8/8/2020
1.0.8 697 3/23/2020
1.0.7 703 3/22/2020
1.0.6 719 3/18/2020
1.0.3 669 3/12/2020
1.0.2 725 3/11/2020
1.0.1 709 3/7/2020
1.0.0 760 3/4/2020
0.9.5-beta 560 2/28/2020
0.9.4.5-beta 513 2/26/2020
0.9.4.4-beta 549 2/26/2020
0.9.4.3-beta 546 2/25/2020
0.9.4.1-beta 549 2/24/2020
0.9.4-beta 593 2/20/2020
0.9.3.7-beta 508 2/18/2020
0.9.3.6-beta 468 2/17/2020
0.9.3.5-beta 494 2/14/2020
0.9.3.3-beta 511 2/6/2020
0.9.3.1-beta 562 2/2/2020
0.9.3-beta 619 2/2/2020
0.9.2.9-beta 486 1/30/2020
0.9.2.8-beta 565 1/30/2020
0.9.2.7-beta 539 1/29/2020
0.9.2.6-beta 593 1/28/2020
0.9.2.5-beta 582 1/25/2020
0.9.2.4-beta 584 1/22/2020
0.9.2.3-beta 625 1/19/2020
0.9.2.2-beta 518 1/18/2020
0.9.2.1-beta 588 1/17/2020
0.9.2-beta 554 1/16/2020
0.9.0-beta 592 1/7/2020