I have developed a C# com component which I am using from managed c++. On my dev machine when everything works fine. However when I distribute the files, I received an error that the component has not been registered. When I try a regsvr32 on the dll it gives me an error (C# dlls cannot be registered). How do I properly register this COM dll?
C++ – Register a C# COM component
ccomregsvr32unmanaged
Best Answer
You use regasm with
/codebase
(and it needs to be ComVisible [but as Patrick McDonald correctly poinhts out, you've already got past that as it works locally])