Referencing the Assembly And Deployment
The Assemblies used for DynamicPDF Rasterizer v2.x.x For .NET are installed at "%ProgramFiles%\ceTe Software\DynamicPDF Rasterizer v2.x.x for .NET\bin" on 32-bit machines and "%ProgramFiles(x86)%\ceTe Software\DynamicPDF Rasterizer v2.x.x for .NET\bin" on 64-bit machines by default. There are six .NET assemblies included that are compiled for use with the .NET Framework 2.0, 3.x and 4.x. The table below gives the details of each assembly.
| Assembly Name | Assembly Version | Framework Version | Platform |
|---|---|---|---|
| ceTe.DynamicPDF.Rasterizer.20.x86.dll | 2.x.x.20 | 2.0 and 3.0 | x86 |
| ceTe.DynamicPDF.Rasterizer.20.x64.dll | 2.x.x.20 | 2.0 and 3.0 | x64 |
| ceTe.DynamicPDF.Rasterizer.35.x86.dll | 2.x.x.35 | 3.5 | x86 |
| ceTe.DynamicPDF.Rasterizer.35.x64.dll | 2.x.x.35 | 3.5 | x64 |
| ceTe.DynamicPDF.Rasterizer.40.x86.dll | 2.x.x.40 | 4.x | x86 |
| ceTe.DynamicPDF.Rasterizer.40.x64.dll | 2.x.x.40 | 4.x | x64 |
Adding assembly reference by selecting Add Reference
-
Visual Studio in Windows x86
To reference our assembly from Visual Studio 2010 open your project's references window (right click on the project and select "Add Reference..."). From the Add Reference window select the "DynamicPDF Rasterizer for .NET x86 (Framework 2.0 and 3.0)" from the list on the ".NET" tab. Hit OK to complete this.
To reference our assembly from Visual Studio 2010 open your project's references window (right click on the project and select "Add Reference..."). From the Add Reference window select the "DynamicPDF Rasterizer for .NET x86 (Framework 3.5)" from the list on the ".NET" tab. Hit OK to complete this.
To reference our assembly from Visual Studio 2010, 2012, 2013, 2015 and 2017 open your project's references window (right click on the project and select "Add Reference..."). From the Add Reference window select the "DynamicPDF Rasterizer for .NET x86 (Framework 4.0/4.5/4.5.1/4.5.2/4.6/4.6.1/4.7)" from the list on the ".NET" tab. Hit OK to complete this.
-
Visual Studio in Windows x64
To reference our assembly from Visual Studio 2010 open your project's references window (right click on the project's and select "Add Reference..."). From the Add Reference window select the "DynamicPDF Rasterizer for .NET x64 (Framework 2.0 and 3.0)" from the list on the ".NET" tab. Hit OK to complete this.
To reference our assembly from Visual Studio 2010 open your project's references window (right click on the project and select "Add Reference..."). From the Add Reference window select the "DynamicPDF Rasterizer for .NET x64 (Framework 3.5)" from the list on the ".NET" tab. Hit OK to complete this.
To reference our assembly from Visual Studio 2010, 2012, 2013, 2015 and 2017 open your project's references window (right click on the project and select "Add Reference..."). From the Add Reference window select the "DynamicPDF Rasterizer for .NET x64 (Framework 4.0/4.5/4.5.1/4.5.2/4.6/4.6.1/4.7)" from the list on the ".NET" tab. Hit OK to complete this.
By default DynamicPDF Rasterizer will be installed in the following location.
For 32-bit machines: %ProgramFiles%\ceTe Software\DynamicPDF Rasterizer v2.x.x for .NET\bin.
For 64-bit machines: %ProgramFiles(x86)%\ceTe Software\DynamicPDF Rasterizer v2.x.x for .NET\bin.
NOTE: Make sure you have not placed more than one of the above assemblies in your applications bin folder. Placing more than one of them in your bin folder can cause errors and unpredictable results. The accompanying xml files are for intelli-sense and do not need to be distributed with your product.
Deployment
To deploy your application using XCOPY, it is prerequisite to have Microsoft Visual C++ 2008 Redistributable Package for .NET 2.0/3.0/3.5 application and Microsoft Visual C++ 2010 Redistributable Package for.NET 4.0/4.5/4.5.1/4.5.2/4.6/4.6.1/4.7 application.
To deploy the application using your own setup program, it is required to include the following redistributables (Merge modules) which need to be installed along with the application.
For .NET 2.0/3.0/3.5 applications
- Visual C++ 9.0 CRT (x86) WinSXS MSM
- Visual C++ 9.0 CRT (x64) WinSXS MSM
For .NET 4.0/4.5/4.5.1/4.5.2/4.6/4.6.1/4.7 applications
- Visual C++ 10.0 CRT (x86) WinSXS MSM
- Visual C++ 10.0 CRT (x64) WinSXS MSM
Licensing
In additional 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 it can be added as a line of code in the application. License keys can be retrieved from the Customer Area of our website, https://www.dynamicpdf.com/CustomerArea, after the purchase of an appropriate serial number.