How to sign a strong name to Interop.SourceSafeTypeLib.dll?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello, friends,

I wonder how can I sign Interop.SourceSafeTypeLib.dll a strong name and
reference it from my own dll? (I am using C#.net).

(Interop.SourceSafeTypeLib.dll is automaticall generated when I reference
VSS COM component in my own dll C#.net project)

Thanks.
 
Andrew,

Instead of setting a reference to it, use the TLBIMP utility. It will
allow you to point to a strong name which will be applied to the interop
assembly.

Hope this helps.
 
If you can locate the PIA, definitely get that.

However, if you cannot, don't use VS.NET's "Add reference (COM)" feature.

From the cmd-line, use tlbimp.exe. You can specify a key (using the /keyfile
argument).

Once you've generated your interop DLL, reference that from VS.NET.

You'll, of course, need to ship this DLL with the rest of your product.

Also, be prepared/aware that as soon as MSFT releases a PIA for this DLL (if
they ever do, which they may not), that you should switch out your DLL for
their DLL and release a new version of your product.

-c
 
Back
Top