Unable to sign an imported msi.dll assembly using tlbimp

Posted by BigMoose on Stack Overflow See other posts from Stack Overflow or by BigMoose
Published on 2010-04-21T10:27:39Z Indexed on 2010/04/21 10:33 UTC
Read the original article Hit count: 211

Filed under:
|
|
|
|

This seems so trivial, yet I can't get it to work..

I have an msi.dll wrapper (named Interop.WindowsInstaller.dll) which I need to sign. The way to do it is by signing it upon import (this specific case is even documented in MSDN: http://msdn.microsoft.com/en-us/library/zec56a0w.aspx).

BUT - no matter how I do it (w/ or w/o a keyfile, w/ or w/o adding "/delaysign"), the generated assemly's size is always 36,864 bytes and when viewing the DLL's properties there is no "Digital Signatures" tab (needless to say - the DLL is NOT signed).

What am I missing here?? (... HELP!...)

© Stack Overflow or respective owner

Related posts about tlbimp

Related posts about import