Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not load file or assembly error even when reference has been removed

Could not load file or assembly 'Payflow_dotNET_2.0' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

I've currently removed all references to the Payflow SDK, though I still get this error. Is there anything else I need to do to get the project to compile and run?

like image 692
twal Avatar asked Dec 16 '22 18:12

twal


1 Answers

Had the same issue.

Even after removing any reference of a library from the project (which was stored in a totally different location), the error still persisted.

The problem actually was that the .dll was still present in the 'bin' folder of the application.

Just had to remove it from there and everything went fine.

Hope it helps somebody, someday.

like image 170
Marius Popa Avatar answered Feb 01 '23 22:02

Marius Popa