.NET 5.0
dotnet add package h2.NET50 --version
NuGet\Install-Package h2.NET50 -Version
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="h2.NET50" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add h2.NET50 --version
#r "nuget: h2.NET50,"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install h2.NET50 as a Cake Addin
#addin nuget:?package=h2.NET50&version=

// Install h2.NET50 as a Cake Tool
#tool nuget:?package=h2.NET50&version=

H2 .NET NuGet package for .NET 5.0

This repository contains the build scripts necessary to generate the H2 .NET NuGet package for .NET 5.0.


H2 (http://www.h2database.com/) is an open source SQL database written in Java. Although it is technically possible to access an H2 database via ADO.NET using a PostgreSQL connection, this has limitations and can be difficult to get working reliably. By using IKVM.NET (https://www.ikvm.net/), the Java bytecode implementing the H2 database can be executed under the .NET runtime, exposing the Java class structure for H2 to .NET.


H2 is dual-licensed under the Mozilla Public License 2.0 and the Eclipse Public License 1.0. See http://www.h2database.com/html/license.html for details.

IKVM.NET is licensed under the zlib License, with portions covered by the GNU Classpath License.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on h2.NET50:

Package Downloads

ADO.NET for H2 DB and serve IKVM

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated 2,387 10/27/2021 234 10/26/2021 227 10/26/2021
1.4.199 228 10/26/2021