Office Add-Ins are COM objects, but COM component is not .NET component. They are the different animals at all. Actually there are RCW/CCW as the bridge between COM and .NET. When you write the above managed Add-In, this is a .NET component. We need to write the enough information to registry(All COM objects all require registry information for interfaces, where to load,etc). COM Interop writes the same information to make COM Runtime to load .NET component in this way.
Best regards,
Riquel
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.