Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 2.35 KB

install.md

File metadata and controls

30 lines (25 loc) · 2.35 KB
layout title
page
Getting Npgsql

The best way to install Npgsql in your project is with our nuget package, Npgsql.

In some cases you'll want to install Npgsql into your Global Assembly Cache (GAC). This is usually the case when you're using a generic database program that can work with any ADO.NET provider but doesn't come with Npgsql or reference it directly. For these cases, you can download the Npgsql Windows installer from our Github releases page: it will install Npgsql (and optionally the Entity Framework providers) into your GAC and add Npgsql's DbProviderFactory into your machine.config file. This is not the general recommended method of using Npgsql - install via Nuget if possible.

If you'd like to have Visual Studio Design-Time support, you can try our experimental installer Setup_NpgsqlDdexProvider.exe. And then follow the instructions in the documentation.

Our build server publishes CI nuget packages for every build. If a bug affecting you was fixed but there hasn't yet been a patch release, you can get a CI nuget at our stable MyGet feed. These packages are generally stable and safe to use (although it's better to wait for a release).

We also publish CI packages for the next minor/major version at our unstable MyGet feed. These are definitely unstable and should be used with care.