开发者

Writing a COM Interop Assembly for a .NET assembly to be consumed by a VB6 app

I'm trying to create a COM Interop assembly (myComInterop.dll) between my vb6 app and a .net assembly. I'm also trying to make it so that it can be "registration free" (see here for explanation). The freedom from registration requires that I create a MyVb6App.exe.manifest file, and also that I use a strong name to sign myComInterop.dll. However, the references in myComInterop.dll require the dependent assemblies to be signed with a strong name, as well. The problem is that some of the dependent assemblies are 3rd party libraries th开发者_StackOverflowat we can't rebuild them as delay signed or sign them ourselves.

Is there a way to get around this requirement that the dependent dlls be signed?


What makes you think it needs be strong named? This is not a requirement for reg-free COM, nor does the example given in the blog post use a strong-named assembly.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜