How can I sign an assembly that references unsigned COM interop assemblies?

When I try to sign the assembly, I get the following error:

Error 1 Assembly build failed - Comlib assembly reference does not have a strong name

Is it possible to sign an assembly that references unsigned assemblies, or do I also need to sign COM interop assemblies?

+3
source share
1 answer

Yes, you have to sign everything.

For a good explanation of why you need to do this, I would recommend that you read Eric Lippert Alas, Smith and Jones :

, , - , . , , , .

: " ?"

: COM, - .

+5

Source: https://habr.com/ru/post/1711484/


All Articles