---
title: "Add .NET SDK to your project | Nutrient .NET SDK"
canonical_url: "https://www.nutrient.io/guides/dotnet/troubleshooting/add-reference-to-gdpicture-dll/"
md_url: "https://www.nutrient.io/guides/dotnet/troubleshooting/add-reference-to-gdpicture-dll.md"
last_updated: "2026-06-08T09:14:14.381Z"
description: "Learn how to add Nutrient .NET SDK (formerly GdPicture.NET) to your C# project. Follow our guide to reference the necessary DLLs and integrate the SDK into your development project."
---

# Add .NET SDK to your project

Add Nutrient.NET SDK (formerly GdPicture.NET) to your.NET project in one of the following ways:

- Recommended: Add references through NuGet packages.

- Add a reference to the installed GdPicture.NET DLL file.

## Adding references through NuGet packages

To add references through NuGet packages, follow the steps below.

1. In Visual Studio, create a new project or open the code of your existing application. For more information on creating a new project, see the [Microsoft documentation](https://learn.microsoft.com/en-us/visualstudio/ide/create-new-project?view=vs-2022). It’s recommended to create a project that runs on.NET 6.0 or newer.

2. Select **Project** > **Manage NuGet Packages**.

3. In the **Package source** field, select **nuget.org**.

4. Click the **Browse** tab.

5. Select one of the following options:
   - If your application runs on.NET 6.0 or newer and uses cross-platform document processing APIs, select **GdPicture.API**, and then click **Install**.
   - If your application runs on.NET 4.6.2 or.NET Core 3.1, select **GdPicture**, and then click **Install**.
   - If your application uses WinForms viewer controls (`GdViewer`), install **GdPicture.WinForms** (starting with version 14.4.0).
   - If your application uses WPF viewer controls (`GdViewer`), install **GdPicture.WPF** (starting with version 14.4.0).

## Adding a reference to the DLL file

To add a reference to the GdPicture.NET DLL file, follow the steps below.

1. In Visual Studio, create a new project or open the code of your existing application. For more information on creating a new project, see the [Microsoft documentation](https://learn.microsoft.com/en-us/visualstudio/ide/create-new-project?view=vs-2022). It’s recommended to create a project that runs on.NET 6.0 or newer.

2. Select **Project** > **Add Reference**.

3. Click the **.NET Assembly** tab.

4. Click **Browse**.

5. Select one of the following options:
   - Recommended: If your application runs on.NET 6.0 or newer, go to `Redist\GdPicture.NET.API (.NET 6.0)\` within the GdPicture.NET installation folder, and then select `GdPicture.NET.14.API.dll`.
   - If your application runs on.NET 4.6.2, go to `Redist\GdPicture.NET (.NET Framework 4.5)\` within the GdPicture.NET installation folder, and then select `GdPicture.NET.14.dll`.
   - If your application runs on.NET Core 3.1, go to `Redist\GdPicture.NET (.NET Core 3.1)\` within the GdPicture.NET installation folder, and then select `GdPicture.NET.14.Core.dll`.

6. Click **OK**.
---

## Related pages

- [HTML, EML, and MSG format troubleshooting](/guides/dotnet/troubleshooting/chrome-issues.md)
- [Old vs. new headless modes in Google Chrome](/guides/dotnet/troubleshooting/headless-modes-google-chrome.md)
- [Troubleshooting](/guides/dotnet/troubleshooting.md)

