Re: Strong Names and Excel
From: Rachel (Rachel_at_discussions.microsoft.com)
Date: 07/23/04
- Previous message: Paul Clement: "Re: basic authentication"
- In reply to: Nicole Calinoiu: "Re: Strong Names and Excel"
- Next in thread: Nicole Calinoiu: "Re: Strong Names and Excel"
- Reply: Nicole Calinoiu: "Re: Strong Names and Excel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 23 Jul 2004 09:10:02 -0700
Nicole:
1. I created a key by typing in: sn -k VBIDE1.snk
(The key was created)
2. I put the key in the bin
3. Then I attempted to make a wrapper by typing in:
tlbimp.exe VBIDE.dll/VBIDE:VBIDE.snk /out:Interop.VBIDE.dll
However, I get TlbImp error: the given path's format is not supported.
Does the path to the key need to be included? How should I write this?
Rachel
"Nicole Calinoiu" wrote:
> 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
> >>
> >>
> >>
>
>
>
- Previous message: Paul Clement: "Re: basic authentication"
- In reply to: Nicole Calinoiu: "Re: Strong Names and Excel"
- Next in thread: Nicole Calinoiu: "Re: Strong Names and Excel"
- Reply: Nicole Calinoiu: "Re: Strong Names and Excel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|