![]() | NuGet Package Installation |
NuGet can be used to automatically add files and references to your Visual Studio projects. You can use the Pdfium.Net SDK NuGet packages without installing the msi installation package to development with the Pdfium.Net SDK.
![]() |
---|
NuPack is focused on installing libraries and tools into a Visual Studio solution. In explicitly does not install anything outside of that folder such as user controls into toolbox. So you must do it self. The notice above is not related to the latest version of Visual Studio. |
The NuGet Package Manager can be used to search and install NuGet packages in the Visual Studio solution or project.
Right-click the project or solution in the Solution Explorer tab, and choose Manage NuGet Packages…
Alternatively, click Tools menu, NuGet Package Manager, Manage NuGet Packages for Solution…
Select the NuGet.org from the Package source drop-down.
All the Patagames NuGet packages are listed and available. Search and install the required packages in your application, by clicking the Install button.
To reference the Pdfium.Net SDK using the Package Manager Console as NuGet packages, follow the below steps:
On the Tools menu, select NuGet Package Manager and then Package Manager Console.
Run the following NuGet installation commands.
#install specified package in default project Install-Package pdfium.net.sdk #install specified package in specified project Install-Package pdfium.net.sdk - ProjectName <Project Name>
The NuGet Command Line Interface (CLI), nuget.exe, provides the full extent of NuGet functionality to install, create, publish, and manage packages without making any change to the project files.
Download the latest NuGet CLI here.
![]() |
---|
To update the existing nuget.exe to latest version use the following command. |
nuget update -self
Open the downloaded executable location in the command window, and run the following commands to download and install the required NuGet packages to a project specified in the package.config.
#install specified package in default project from specified Package Source nuget.exe install "pdfium.net.sdk" #install specified package in default project from specified Package Source nuget.exe install "C:\Users\YourApplication\package.config"
NuGet packages can be updated to their specific version or latest version available in the Visual Studio solution or project.
Right-click the project or solution in the Solution Explorer tab, and choose Manage NuGet Packages…
Alternatively, click Tools menu, NuGet Package Manager, Manage NuGet Packages for Solution…
Select the Updates tab to see the packages available for update. Select the required packages and the specific version from the dropdown, and click the Update button.
To update the installed Pdfium.Net SDK NuGet package using the Package Manager Console, follow the below steps.
On the Tools menu, select NuGet Package Manager and then Package Manager Console.
Run the following NuGet installation commands.
#Update specific NuGet package in default project Update-Package pdfium.net.sdk #Update specified package in specified project Update-Package pdfium.net.sdk - ProjectName <Project Name>
Using the NuGet CLI, all the NuGet packages in the project can be updated to the available latest version.
Download the latest NuGet CLI.
Open the downloaded executable location in the command window and run the following "update commands" to update the Pdfium.Net SDK NuGet package:
#update all NuGet packages from config file nuget update "C:\Users\YourApplication\package.config" #update all NuGet packages nuget update