Reputation: 175
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.
Upvotes: 3
Views: 14024
Reputation: 513
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
Upvotes: 9
Reputation: 175
Found Solution I downloaded itextsharp.xmlworker.dll and put in bin folder. It worked
http://sourceforge.net/projects/itextsharp/files/xmlworker/
Upvotes: 7
Reputation: 1455
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.
Upvotes: -2