Im migratin a WIN-FORM proyect to a new ASP.NET WEB-PROYECT. The problem is with a dll, this was made from a C++/CLI proyect, when I build the web site I get an error:
Could not load file or assembly 'F3BC4DNI_32' one of its dependencies. The located assembly's manifest definition does not match the assembly reference (Exception de HRESULT: 0x80131040)
Here the full error: Error here
Both proyects are using framework v4.
C++/CLI win32
People say that should use PInvoke, but I need to call the class name too and DllImport only works for methods (as I know).
Also People say I should add my dll to COM or .NET list. I run it with REGSVR32 but it gives me an error
Does anybody knows what could it be?
Thanks

VulpesRank #55 · 29.2K reputationPosted Mar 4, 2014, 12:56 PM EST
If this is ringing any bells, I'd check the version of the dll shown in web.config against the current version of the dll to see whether they differ.
Martin Eduardo Martinez Dimas8 reputationPosted Mar 4, 2014, 1:54 PM EST
VulpesRank #55 · 29.2K reputationPosted Mar 4, 2014, 2:21 PM EST
If there are any custom (as opposed to system) dlls on which your dll depends, I'd copy them to the /bin folder as well so the system can find them.
Martin Eduardo Martinez Dimas8 reputationPosted Mar 5, 2014, 5:28 AM EST
VulpesRank #55 · 29.2K reputationPosted Mar 5, 2014, 7:09 AM EST
It might or might not correctly show what other dlls are referenced.
To check dependencies on a .NET dll, I'd use a specialist tool such as ildasm.exe (available from VS Command Prompt) which should show you what external assemblies are referenced in the manifest.