When i add a .dll file as a reference in C# application it shows an error :
A reference to the "....dll" could not be added.Please make sure that the file is accessible and that it is a valid assembly or COM component. ILDissassembler says there is no valid CLR header so I try to register it using regsvr32 and that gives me another error: The module "" was loaded but the call to DLLRegisterServer failed with error code '0x80004005'
I am using VS2010 ultimate on a 64bit windows 7 machine. What could be the problem?
Thanks for any hints/replies