Re: Strong Names and Excel
From: Nicole Calinoiu (nicolec_at_somewhere.net)
Date: 07/23/04
- Next message: Joe Kaplan \(MVP - ADSI\): "Re: LDAP binding"
- Previous message: Rachel: "Re: Strong Names and Excel"
- In reply to: Rachel: "Re: Strong Names and Excel"
- Next in thread: Rachel: "Re: Strong Names and Excel"
- Reply: Rachel: "Re: Strong Names and Excel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 23 Jul 2004 09:59:48 -0400
In VB.NET, you must do this for each referenced COM DLL in each project that
references COM DLLs. In other words, each referenced COM DLL gets its own
managed wrapper DLL to which the specified signing key gets applied for
strong naming.
HTH,
Nicole
"Rachel" <Rachel@discussions.microsoft.com> wrote in message
news:B1FF9CCC-AA92-422F-839F-A55DFB178EB6@microsoft.com...
> Nicole,
>
> Will one wrapper be okay for all dlls in the project that have this
> problem or do I have to do this for each dll that has this problem?
>
> Thanks,
>
> Rachel
>
> "Nicole Calinoiu" wrote:
>
>> Rachel,
>>
>> You can force the compiler to create a strongly named wrapper for
>> referenced
>> COM interop assemblies. This is done separately from the signing of the
>> assembly itself. For instructions, see
>> http://support.microsoft.com/?kbid=313666.
>>
>> HTH,
>> Nicole
>>
>>
>> "Rachel" <Rachel@discussions.microsoft.com> wrote in message
>> news:8720848D-854E-4BEB-A232-57A3AFE17216@microsoft.com...
>> > Hi All:
>> >
>> > I have been attempting to put a strong name into my Assembly. I
>> > generated
>> > it and put it into the bin of my file and then I tried to put in
>> > <AssemblyKeyFile("mykey.snk")> and when I did I get the error:
>> >
>> > unable to emit assembly: Referenced assembly 'Interop.VBIDE' does not
>> > have
>> > a strong name
>> >
>> > I checked the properties of VBIDE and I cannot change the strong name
>> > property to true. Help!
>> >
>> > Rachel
>>
>>
>>
- Next message: Joe Kaplan \(MVP - ADSI\): "Re: LDAP binding"
- Previous message: Rachel: "Re: Strong Names and Excel"
- In reply to: Rachel: "Re: Strong Names and Excel"
- Next in thread: Rachel: "Re: Strong Names and Excel"
- Reply: Rachel: "Re: Strong Names and Excel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|