views:

188

answers:

1

Hello! I have a 3rd party library I need to use. this library however, is not signed, so I used Signer to strong name it. One of its dependencies is an Interop library (also provided by the 3rd party) which I cannot sign since it seems to have unmanaged code. At runtime, when the 3rd party code needs to load the Interop library it fails to do so for not being signed.

In short, Is there a way for me to sign a 3rd party Interop DLL?

I've done a lot of searching but still couldn't find a solution.

A: 

"it seems to have unmanaged code" seems to be where the problem lies. You don't know exactly what's going on here. Try opening the dll with reflector. As far as I know, you can't mix managed and unmanaged code in the same DLL. Might also be a bug with Signer. Try using sn.exe to sign the assembly in question.

Will
This didn't work :(
mauro.dec
@mauro Wha happen in reflector? Does it open? Can you see all types defined in the library?
Will