What is difference between RegAsm.exe and regsvr32? How to generate a tlb file using regsvr32?
regsvr32 will load the library and try to call the DllRegisterServer() from that library. It doesn’t care what DllRegisterServer() actually does – it just calls that function and checks the returned value. You use it to register COM servers in unmanaged DLLs. It can’t generate a .tlb file. regasm will register a COM-exposed .NET assembly … Read more