You do not have to deploy the interop assembly with your application.
无需将互操作程序集与您的应用程序一起部署。
If you are the publisher, you must generate a primary interop assembly for the dependent type library before generating the referencing primary interop assembly.
如果您是发行者,必须先为相关类型库生成一个主互操作程序集,才能生成引用这些类型库的主互操作程序集。
When you use embedded interop types, you can embed them from the primary interop assembly published by the author of the com component.
当使用嵌入的互操作类型时,您可以从COM组件的作者所发布的主互操作程序集中嵌入这些类型。
应用推荐