Strong Naming Assemblies & 3rd party Controls

millele3

New member
Joined
Jun 18, 2005
Messages
1
Location
USA
Programming Experience
10+
Hi,

I am trying to strongly-name our assemblies.
We will be using dotfuscator ce, so we plan to use "Delay Signing".

I generated keys using SN.exe -k KeyFile.snk
I entered these lines into all our assembly files:

' Strong Name
<Assembly: AssemblyKeyFileAttribute("..\..\KeyFile.snk")>
<Assembly: AssemblyDelaySignAttribute(True)>

Now, I keep getting this error:
Unable to emit assembly: Referenced assembly 'Interop.BIOPLUGINACTXLib' does not have a strong name

We use a 3rd-party OCX named "BioPlugInActX.ocx". When I use their control on one of my forms in my project, .NET generates interop DLLs and puts these DLLs in the project REFERENCES:
Interop.BIOPLUGINACTXLib.dll
AxInterop.BIOPLUGINACTXLib.dll

How can I use this OCX (Dlls?) in my project with strongly-named assemblies?
The vendor code is not managed or strong-named

I did some searching, and tried using tlbimp.exe, but that seems to want a DLL (not OCX), and/or a type-library (tlb file).

I don't get it?
Any help?????????
:confused:
Thanks!!
-Len
 
Back
Top