Installation vs. NuGet in dotConnect Providers

Installation vs. NuGet in dotConnect Providers

dotConnect providers can be added to a project in two ways: by installing the product or by using NuGet packages. The choice depends on the project type and the .NET version you are targeting.

This article applies to all dotConnect providers.

Two Ways to Get Assemblies

1. Installation

When you install dotConnect, assemblies for .NET Framework are placed locally and registered in the system. You can find them in:
  1. C:\Program Files (x86)\Devart\dotConnect\MySQL\
  2. Global Assembly Cache (GAC 2.0): C:\Windows\assembly\GAC_MSIL\
  3. Global Assembly Cache (GAC 4.0): C:\Windows\Microsoft.NET\assembly\GAC_MSIL\
2. NuGet Packages

Assemblies for .NET Standard and .NET Core (including .NET 6–9) are available via NuGet. This approach integrates easily into cross-platform development and automated build pipelines.

Which Option to Use
  1. For .NET Framework projects, use the assemblies installed with the product.
  2. For .NET Core and .NET 6–9 projects, use NuGet packages.
This separation ensures that the correct assemblies are referenced and that licensing requirements are applied appropriately.

Licensing

Licensing terms differ between the two approaches:

    • Related Articles

    • Using SSL with dotConnect for PostgreSQL from NuGet

      When using dotConnect for PostgreSQL via NuGet packages, note that SSL support is not included in the NuGet assemblies by default. To enable SSL connections, you must manually add the necessary assemblies from the full Devart installation package to ...
    • dotConnect for Oracle distribution

      dotConnect for Oracle is distributed in two ways: - As the installer that provides assemblies for Full .NET Framework, documentation, samples, and all the necessary files. - As NuGet packages with .NET Standard compatible assemblies for .NET Core. ...
    • "Help Content Manager" Error During Installation

      If you see the "Help Content Manager" error when installing dotConnect, don’t worry — this is not a critical issue. You can continue using the product normally and access our documentation online: ? Devart dotConnect for PostgreSQL Documentation How ...
    • PgDAC activation after installation of trial version

      To activate your PgDAC product after purchasing a license, no additional activation steps are required. However, if you previously installed a trial version of the DAC product, you need to follow these steps: Uninstall the Trial Version: Use the ...
    • Two sets of assemblies

      dotConnect for MySQL The current implementation of dotConnect for MySQL includes two sets of assemblies: 1) the .NET Framework Devart.* assemblies which are shipped with installation: * assemblies are created in C:\Program Files ...