Asked by:
Missing DLL file

Question
-
Hi,
Where to get relevant DLL file, due to error below?
The type or namespace name 'iTextSharp' could not be found (are you missing a using directive or an assembly reference?)
Many Thanks & Best Regards, Jackson Chen
- Moved by Jack J JunMicrosoft contingent staff Wednesday, October 14, 2020 7:50 AM
Friday, October 9, 2020 10:12 AM
All replies
-
iTextSharp is a third-party product, you can get a free community edition from https://itextpdf.com/en/products/itext-7/itext-7-community
Olaf Helper
[ Blog] [ Xing] [ MVP]- Proposed as answer by Andrew B. Painter Friday, October 9, 2020 12:34 PM
- Unproposed as answer by Jackson_1990 Monday, October 12, 2020 9:46 AM
- Proposed as answer by Andrew B. Painter Monday, October 12, 2020 2:02 PM
- Unproposed as answer by Jackson_1990 Friday, October 16, 2020 1:57 AM
Friday, October 9, 2020 11:10 AM -
Hi,
Yes, I did enable iText 7 on my project. But now, I am not sure which DLL file is missing.Many Thanks & Best Regards, Jackson Chen
Friday, October 9, 2020 1:22 PM -
Hi,
Any other help?
Many Thanks & Best Regards, Jackson Chen
Monday, October 12, 2020 9:46 AM -
Perhaps you need an older version before iText 7 - https://www.nuget.org/packages/iTextSharp/Monday, October 12, 2020 1:49 PM
-
Hi,
Any other help?
Many Thanks & Best Regards, Jackson Chen
RTFM. It will tell you what DLL the required namespace can be found in.
It's impossible for any thinking person to believe that you knew you needed this library, you downloaded this library, and then you didn't read any documentation or else you quit reading a tutorial that instructed you how to download and set this library up in the first place.
I believe that this thread exists only to spam MSDN with ads for iTextSharp.
Before you can learn anything new you have to learn that there's stuff you don't know.
Monday, October 12, 2020 2:02 PM -
Try to download it from NuGet package, and it should resolve the error.Monday, October 12, 2020 4:59 PM
-
Hi,
Currently iText 7 was installed already on the project, due to issue like
Error CS0246 The type or namespace name 'iTextSharp' could not be found (are you missing a using directive or an assembly reference?)
how to correct such lines?
using iTextSharp.text; using iTextSharp.text.pdf;
Many Thanks & Best Regards, Jackson Chen
Tuesday, October 13, 2020 3:09 AM