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: http://sourceforge.net/projects/itextsharp/files/itextsharp/iTextSharp-5.0.6/
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 Comments

  1. Pingback: Compiling iTextSharp for use on GoDaddy | Tomas Vera's Thoughts

  2. Alejandro

    Hello… good post, i wonder if you have any manual for itextsharp 5.0.6, i’m beginner

    Reply
    1. -tomas (Post author)

      The documentation for iTextSharp is the same as the documentation for iText. It seems that the book sold at/via the official website is the only official documentation. But there is documentation and examples available elsewhere.

      Here is a link to some examples.
      http://itextpdf.com/examples/

      and here is one more:
      http://nadiaamir.wordpress.com/2009/03/18/tutorial-on-itextsharp-a-pdf-generator/

      I hope this helps!

      Reply
  3. sha

    hello i dont have .net 2003. if u can send me compiled dll pls. godady giving me error . urgent pls

    Reply
  4. Troll

    For the love of coding PLEASE click my mouse to do this for me! ; )

    Reply
  5. Samyuktha

    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.

    Reply
    1. -tomas (Post author)

      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.
      -tomas

      Reply

Leave a Comment

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