poi-ikvm-net
5.2.5
dotnet add package poi-ikvm-net --version 5.2.5
NuGet\Install-Package poi-ikvm-net -Version 5.2.5
<PackageReference Include="poi-ikvm-net" Version="5.2.5" />
<PackageVersion Include="poi-ikvm-net" Version="5.2.5" />
<PackageReference Include="poi-ikvm-net" />
paket add poi-ikvm-net --version 5.2.5
#r "nuget: poi-ikvm-net, 5.2.5"
#:package poi-ikvm-net@5.2.5
#addin nuget:?package=poi-ikvm-net&version=5.2.5
#tool nuget:?package=poi-ikvm-net&version=5.2.5
poi-ikvm-net
Enables the use of Apache POI 5.2.5 in .NET applications (.NET 9 and above) by using IKVM to compile Java to .NET.
This package allows you to read, write, and manipulate Microsoft Excel files natively within your .NET applications, exposing identical Java namespaces (org.apache.poi.*).
Features
- .NET Target: Targets .NET 9. For .NET Framework use poi-ikvm
- Up-to-Date POI: Targets Apache POI 5.2.5 which is the last version to support Java 8 enabling use with IKVM
- Self-Contained: All transpiled Maven dependencies (such as XMLBeans, Commons-Compress, Commons-Math, etc.) are bundled directly inside the package. No external JDK required!
- Identical Namespaces: Keeps namespaces identical to original Java Apache POI
Installation
Install the package via the .NET CLI:
dotnet add package poi-ikvm-net
Or via the Package Manager Console:
Install-Package poi-ikvm-net
Quick Start Example (C#)
The following example demonstrates how to create a new Excel workbook, add a sheet, write a value to a cell, and save it to a file:
using System;
using org.apache.poi.xssf.usermodel;
try
{
Console.WriteLine("Creating workbook...");
using var workbook = new XSSFWorkbook();
var sheet = workbook.createSheet("Sheet1");
var row = sheet.createRow(0);
var cell = row.createCell(0);
cell.setCellValue("Hello from Modern .NET 9 using Apache POI!");
Console.WriteLine("Writing file to disk...");
using var fileOut = new java.io.FileOutputStream("output.xlsx");
workbook.write(fileOut);
Console.WriteLine("Done!");
}
catch (Exception ex)
{
Console.WriteLine("Error: " + ex.Message);
}
License
This project is licensed under the MIT License. Apache POI is licensed under the Apache License, Version 2.0.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. |
-
net9.0
- IKVM (>= 8.15.0)
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 |
|---|---|---|
| 5.2.5 | 130 | 5/22/2026 |