CoreExcelPackage 2025.5.23
.NET 6.0
This package targets .NET 6.0. The package is compatible with this framework or higher.
.NET Framework 4.8
This package targets .NET Framework 4.8. The package is compatible with this framework or higher.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package CoreExcelPackage --version 2025.5.23
NuGet\Install-Package CoreExcelPackage -Version 2025.5.23
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="CoreExcelPackage" Version="2025.5.23" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CoreExcelPackage" Version="2025.5.23" />
<PackageReference Include="CoreExcelPackage" />
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 CoreExcelPackage --version 2025.5.23
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CoreExcelPackage, 2025.5.23"
#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 CoreExcelPackage@2025.5.23
#: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=CoreExcelPackage&version=2025.5.23
#tool nuget:?package=CoreExcelPackage&version=2025.5.23
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
CoreExcelPackage
Una biblioteca especializada para el manejo de archivos Excel (.xls y .xlsx) en .NET, con enfoque en la lectura y conversión de datos.
Características Principales
- Manejo de archivos Excel (.xls y .xlsx)
- Lectura de datos desde hojas de Excel
- Conexión a través de:
- String de conexión (ruta de archivo)
- Stream de memoria
- Conversión automática de datos a tipos genéricos
- Integración con DataTable y tipos genéricos
- Manejo de múltiples hojas de Excel
Instalación
El paquete se puede instalar usando NuGet:
dotnet add package DotNet.ExcelToolkit
También está disponible en el Visual Studio Package Manager:
Install-Package DotNet.ExcelToolkit
Uso Básico
// Crear una instancia del paquete Excel
var excelPackage = new ExcelPackage();
// Conectar usando string de conexión
excelPackage.SetDatabaseLogon("ruta/a/archivo.xlsx");
// Conectar usando stream
using var stream = File.OpenRead("ruta/a/archivo.xlsx");
excelPackage.SetDatabaseLogon(stream);
// Obtener todas las tablas del Excel
var tables = excelPackage.GetTables();
// Obtener una tabla específica
var table = excelPackage.GetTable("NombreHoja");
// Convertir datos a un tipo genérico
var items = excelPackage.GetItems<MyTipo>("NombreHoja");
// Cerrar el paquete
excelPackage.Dispose();
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. 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 is compatible. 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 is compatible. 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 is compatible. 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 Framework | net48 is compatible. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.8
- CoreUtilerias (>= 2025.5.14)
- ExcelDataReader.DataSet (>= 3.7.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.3)
- System.Text.Encoding.CodePages (>= 9.0.3)
-
net6.0
- CoreUtilerias (>= 2025.5.14)
- ExcelDataReader.DataSet (>= 3.7.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.3)
- System.Text.Encoding.CodePages (>= 9.0.3)
-
net7.0
- CoreUtilerias (>= 2025.5.14)
- ExcelDataReader.DataSet (>= 3.7.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.3)
- System.Text.Encoding.CodePages (>= 9.0.3)
-
net8.0
- CoreUtilerias (>= 2025.5.14)
- ExcelDataReader.DataSet (>= 3.7.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.3)
- System.Text.Encoding.CodePages (>= 9.0.3)
-
net9.0
- CoreUtilerias (>= 2025.5.14)
- ExcelDataReader.DataSet (>= 3.7.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.3)
- System.Text.Encoding.CodePages (>= 9.0.3)
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 |
---|---|---|
2025.7.13 | 113 | 7/14/2025 |
2025.7.8 | 116 | 7/8/2025 |
2025.7.2 | 96 | 7/4/2025 |
2025.6.26 | 97 | 6/27/2025 |
2025.6.12 | 271 | 6/11/2025 |
2025.6.11 | 269 | 6/11/2025 |
2025.5.23 | 64 | 5/23/2025 |
2025.5.8 | 131 | 5/8/2025 |
2025.5.4 | 138 | 5/4/2025 |
2025.5.1 | 132 | 5/1/2025 |
2025.4.30 | 127 | 4/30/2025 |
2025.3.22 | 148 | 3/22/2025 |
2025.3.8 | 122 | 3/9/2025 |
2025.2.1 | 104 | 2/1/2025 |
2024.12.4 | 111 | 12/4/2024 |
2024.11.12 | 110 | 11/12/2024 |
2024.10.6 | 107 | 10/4/2024 |
2024.10.5 | 96 | 10/3/2024 |
2024.10.4 | 97 | 10/3/2024 |
2024.10.3 | 95 | 10/3/2024 |
2024.9.5 | 114 | 9/6/2024 |
2024.8.13 | 122 | 8/14/2024 |
2024.8.1 | 95 | 8/1/2024 |
2024.7.24 | 96 | 7/24/2024 |
2024.7.13 | 92 | 7/14/2024 |
2024.5.25 | 105 | 5/25/2024 |
2024.4.12 | 135 | 4/13/2024 |
2024.4.7 | 113 | 4/8/2024 |
2023.11.30 | 206 | 12/11/2023 |
2023.11.28 | 138 | 11/27/2023 |