Compiling iTextSharp

Here are some step-by-step instructions on how to compile iTextSharp for use in a partially-trusted-caller environment such as that found on GoDaddy hosted servers.

Step 1. Download the source.
The source code is available here:
As of this writing, the current version available is 5.0.6. Newer source should always be available at this site.

Download iTextSharp Source code
Download iTextSharp Source

2. Expand the ZIP file to get access to the C# Solution/Project files.
Locate the Solution file

3. Open the Solution in Visual Studio.

You may be asked to convert the solution to the latest version of Visual Studio, accept the defaults.

4. Modify the AssemblyInfo.cs file (as discussed in the articles elsewhere in this site).Make required code changes

5. Build the solution and start working with your new DLL.iTextSharp Finished DLLs

6. Generate PDFs for your site!

If you found this useful, consider helping me maintain this site.

7 thoughts on “Compiling iTextSharp

  1. Hello I have used itextsharp ddl 5.5.6 version.i have followed the same procedure as mentioned above but after building the project am not able to generate the new ddl.please help anyone.
    Thanks in Advance.

    1. Is the project compiling with errors? Or does it compile successfully?
      If it compiles successfully, make sure that your output type is correct in Visual Studio.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.