3

I Spend 3 days why adding namespace using iTextSharp.tool.xml not working not working. I already put itextsharp.dll in bin folders. Other related namespaces are working. Plz help.

Sahil Bhatia
  • 165
  • 1
  • 1
  • 8

3 Answers3

9

I just had the same problem, just run the command below in the Package Manager Console. Felt like an easier solution and it solved the problem for me!

Install-Package iTextSharp.xmlworker
Ankan
  • 508
  • 5
  • 12
7

Found Solution I downloaded itextsharp.xmlworker.dll and put in bin folder. It worked

http://sourceforge.net/projects/itextsharp/files/xmlworker/

Sahil Bhatia
  • 165
  • 1
  • 1
  • 8
-2

use this namespace your problem is solved.

using iTextSharp.text;
using iTextSharp.text.pdf.draw;
using iTextSharp.text.pdf;
using iTextSharp.text.html;
using iTextSharp.text.html.simpleparser;
using iTextSharp.text.xml;

this namespace for itextsharp.dll in use for PDF.

Genish Parvadia
  • 1,437
  • 3
  • 17
  • 30
  • I need iTextSharp.tool.xml or iTextSharp.tool to run. is there separate dll for this namespace – Sahil Bhatia May 26 '15 at 11:18
  • This answer is wrong. It doesn't answer the question: the question is about XML Worker; this answer is about obsolete functionality in iTextSharp. – Bruno Lowagie May 26 '15 at 12:20