I am trying to create COM wrapper class for a COM library. I first used MIDL to compile the .IDL into .TLB, then used TlbImp to generate a managed wrapper assembly. However, I found some of the interfaces are not included in the managed wrapper, the reason is they are not mentioned in the 'library' section.
Is there any way to let the final managed wrapper assembly include all the interfaces instead of changing the .IDL and manually writing all interfaces inside 'library'?