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
                    
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="poi-ikvm-net" Version="5.2.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="poi-ikvm-net" Version="5.2.5" />
                    
Directory.Packages.props
<PackageReference Include="poi-ikvm-net" />
                    
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 poi-ikvm-net --version 5.2.5
                    
#r "nuget: poi-ikvm-net, 5.2.5"
                    
#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 poi-ikvm-net@5.2.5
                    
#: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=poi-ikvm-net&version=5.2.5
                    
Install as a Cake Addin
#tool nuget:?package=poi-ikvm-net&version=5.2.5
                    
Install as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net9.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