AspNet error whith dll

Mar 4 2014 1:35 PM
HI 

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


Answers (5)