Referencing And Deploying the Assembly

The easiest way to reference and deploy DynamicPDF PrintManager in your project is by installing the NuGet package directly within Visual Studio's Package Manager. Alternatively, you can follow the instructions to reference and manually deploy the assembly.

NOTE: We recommend installing using the NuGet package, as this is the easiest and least error-prone installation method.

Referencing From NuGet

You can install the NuGet Package from directly within Visual Studio's Package Manager.

Manual Installation

To install manually, download the assembly from the DynamicPDF website. The downloaded ZIP file (DynamicPDFPrintManagerForNETv4.xx.zip) contains the .NET assemblies.

Assembly Name Assembly Version .NET Framework Version Platform
DynamicPDF.Printing.NETFramework40.dll 4.x.x 4.x AnyCPU
DynamicPDF.Printing.NETStandard20.dll 4.x.x .NET Framework Version 2.0 AnyCPU

Referencing the Assembly

To reference the assembly from Visual Studio, open your project's references window (right-click on the project and select "Add Reference..."). Then, from the Add Reference window, select the "DynamicPDF PrintManager for .NET (Framework 4.x)" from the list on the ".NET" tab. Select OK to complete the selection.

32-bit (x86) and 64-bit (x64) Versions

The DynamicPDF.Printing DLLs are both built using the AnyCPU option and therefore do not require different 32-bit or 64-bit builds and can run natively in either 32-bit or 64-bit environments.

Assembly .NET Framework Version Native Files Platform
DynamicPDF.Printing.NETFramework40.dll 4.x Native\DPDFPrintNative_XXX.dll AnyCPU
DynamicPDF.Printing.NETStandard20.dll .NET Framework Version v2.0 Native\DPDFPrintNative_XXX.dll AnyCPU

Licensing

In addition to deploying the DLL files with your application, a license key must be added to remove the watermark. A license key can either be added to a .config file or counted as a line of code in the application. Retrieve license keys from the Customer Area of our website, https://www.dynamicpdf.com/CustomerArea, after purchasing an appropriate serial number.

In this topic