简体   繁体   中英

How to create a strong name for referenced COM Interops

In my project I want to reference a COM libraries from SolidEdge (CAD).

In the Reference Manager it's name is Solid Edge Design Manager Object Library and it's reference name in my Project is Interop.RevisionManager , but has no strong name.

So my question is, how to create a strong name for such COM lib's.

I guess I have to do it with tlbimp, but what is the TypeLibName ? (Where to find the type library that appears as Solid Edge Design Manager Object Library )

In the meantime I found that I can figure out the *.tlb file with the OLE/COM-Object viewer. And now I can create my signed interop with: tlbimp revmgr.tlb /publickey:"MyKeyFile.snk" /out:Interop.RevisionManager.dll

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM