How to get IDL from a .NET assembly (or how to to convert TLB to IDL) in a command line?
We have a .NET assembly (Aspose.Words actually) and we want clients to use it from COM clients without much hassle. So we ship a .TLB with the assembly so the client can use it from languages such as C++ or Delphi and don't bother extracting .TLB themselves. We also ship an .IDL with the assembly so the clients can look into it if they want to see the enumeration values if they are programming in ASP for example. I want .TLB and .IDL to be generated by a build script. I can generate .TLB no problems. But I cannot generate .IDL (or as an alternative convert .TLB to .IDL) in a command line. I do