Link to home
Start Free TrialLog in
Avatar of Hagita
HagitaFlag for Israel

asked on

Could not load file or assembly itextsharp

Hi Experts, need your urgent help..
In my C# solution I am using a project named ConcatenateDocuments, It uses the PDFsharp.PDF.IO.PdfReader in order to read PDF files and merge them into one PDF file. Now Im having compatabilty problems with pdf files that wont open so Im trying to use the itextsharp.
I have trouble invoking the assembly,keep getting this error:
Could not load file or assembly 'itextsharp, Version=5.1.1.0, Culture=neutral,
PublicKeyToken=8354ae6d2174ddca' or one of its dependencies.
The located assembly's manifest definition does not match the assembly reference.
(Exception from HRESULT: 0x80131040)
ASKER CERTIFIED SOLUTION
Avatar of Kimputer
Kimputer

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Hagita

ASKER

It turned out that the config file had provided an assembly binding that needed to be deleted. so that plus deletion of all dll files had finally solved the problem