Creating Strong Named Assemblies

S

Steve Holland

I have created a Class Library (VB.Net) which references
MS Word. When I attempt to compile the Class Library
(<Assembly: AssemblyKeyFile("..\..\NHGeneralCourt.snk")>)
I get the following error - - - Unable to emit assembly:
Referenced assembly 'Interop.VBIDE' does not have a strong
name. How do I create a Strong Name
for 'Interop.VBIDE'??? Thanks.
 
D

David Browne

Steve Holland said:
I have created a Class Library (VB.Net) which references
MS Word. When I attempt to compile the Class Library
(<Assembly: AssemblyKeyFile("..\..\NHGeneralCourt.snk")>)
I get the following error - - - Unable to emit assembly:
Referenced assembly 'Interop.VBIDE' does not have a strong
name. How do I create a Strong Name
for 'Interop.VBIDE'??? Thanks.

Plan A is to acquire the "Pimary Interop Assembly" for that component.
A PIA can only be created by the publisher of the original component, so try
the Microsoft Office PIA.

http://www.microsoft.com/downloads/...1E-3060-4F71-A6B4-01FEBA508E52&displaylang=en

Plan B is to stong-name the interop assembly yourself TlbImp.exe with the
/keyfile option.

David
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top