Installing from NuGet

This guide describes how to add DotNetBrowser to your .NET project from NuGet.

To add DotNetBrowser to project, install the appropriate NuGet packages listed below.

DotNetBrowser itself depends on protobuf-net. The corresponding package is automatically fetched while installing DotNetBrowser NuGet packages.

Platform-specific

If you need DotNetBrowser to work only on a specific platform, you can install the appropriate packages listed below.

Windows AnyCPU

DotNetBrowser
DotNetBrowser.Chromium.Win-x86
DotNetBrowser.Chromium.Win-x64

Installing DotNetBrowser fetches the rest above-mentioned packages automatically.

Windows 32-bit

DotNetBrowser.x86
DotNetBrowser.Chromium.Win-x86

Windows 64-bit

DotNetBrowser.x64
DotNetBrowser.Chromium.Win-x64

UI framework

If you develop a desktop application where you want to display some web content, install one more package depending on the UI framework you use.

WPF

DotNetBrowser
DotNetBrowser.Chromium.Win-x86
DotNetBrowser.Chromium.Win-x64
DotNetBrowser.Wpf

Installing DotNetBrowser.Wpf fetches the rest above-mentioned packages automatically.

If your WPF application runs on 64-bit platforms, and 32-bit platforms are not supported, you can install DotNetBrowser.Wpf.x64 package. DotNetBrowser.x64 and DotNetBrowser.Chromium.Win-x64 packages are fetched and installed automatically.

WinForms

DotNetBrowser
DotNetBrowser.Chromium.Win-x86
DotNetBrowser.Chromium.Win-x64
DotNetBrowser.WinForms

Installing DotNetBrowser.WinForms fetches the rest above-mentioned packages automatically.

If your WinForms application runs on 32-bit platforms, and 64-bit platforms are not supported, you can install DotNetBrowser.WinForms.x86 package. DotNetBrowser.x86 and DotNetBrowser.Chromium.Win-x86 packages are fetched and installed automatically.

NuGet Package Manager

To install the required NuGet packages, follow the below instructions:

  1. In Solution Explorer, right-click References and choose Manage NuGet Packages:

    Manage NuGet Packages

  2. Choose “nuget.org” as the Package source, select the Browse tab, search for “DotNetBrowser”, select the required package and hit Install:

    Install package

  3. Accept the prompted license agreement to continue installation.

Go Top