问题描述
我在
有人确切知道这是什么意思吗?
Does anybody exactly know what this mean?
这是仅用于Office Primary Interop程序集,还是我也可以使用它来嵌入我的兑换库或其他COM库?
Is this only for the Office Primary Interop Assemblies, or can I also use this to Embed my Redemption library or other COM libraries?
推荐答案
Scott Hanselman博客中描述的过程称为 Type Equivalence ,这是CLR 4.0对COM互操作类型的支持的相当模糊的术语组件。尽管我还没有机会看过它,但第9频道上有一段视频对此进行了讨论:
The process described in Scott Hanselman's blog is called Type Equivalence, a rather nebulous term for the CLR 4.0's support for COM interop type assemblies. Although I haven't had a chance to look at it, there is a video here at Channel 9 that discusses it:
Raja Krishnaswamy和Vance Morrison:CLR 4-内部类型对等
显然,您可以编写自己的类型等效程序集并将其嵌入。请注意,这可能不适用于任何COM程序集。类型等效程序集实现名为 IApplication
的接口。参见此处:
Apparently you can write your own "type equivalence" assemblies, and embed them. Note that this probably does not apply to just any COM assembly; type equivalence assemblies implement an interface called IApplication
. See here:
.NET中的高级类型系统:类型等效演示
这篇关于Visual Studio 2010:嵌入互操作类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!