I am trying to generate PDFs using ABCPdf.net
on c# .net MVC web application. While loading the solution, I am getting the below error:
Could not load file or assembly 'ABCpdf, Version=10.1.2.5,
Culture=neutral, PublicKeyToken=a7a0b3f5184f2169' or one of its dependencies.
The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
The issue is ABCPdf.dll
version in the bin folder is always loading version 1.0.0.0 while the application requires version 10.1.2.5.
I am not sure from where the dll
version 1.0.0.0 is getting loaded.
I performed the below operations, hoping for good results, but didn't solve the issue:
Removed the reference and added it again
Cleaned solution and rebuilt again
Tried removing the
dll
version 1.0.0.0 manually from the bin folder and pasted version 10.1.2.5. But when I ranVS2015
again, the bin folder replaces thedll
version 1.0.0.0 to 10.1.2.5Deleted everything from
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary
ASP.NET Files