Assembly error after signing reference assemblies

I encounter assembly errors in my project after signing some assemblies that he was happy to build with pre-signing. In the list of errors, I see errors such as:

Type 'XXX' is defined in an assembly that is not referenced. You must add a reference to the assembly 'XXX, Version = [ correct version ], Culture = [ correct culture ], PublicKeyToken = null [ invalid public key token ]'

Returning to unauthorized assemblies (only the difference in the text is the information about signing in the referenced assemblies and their solution, in which the shared key is stored), everything builds again.

Unfortunately, these files must be signed, so I wonder if anyone has encountered this problem before?

Thanks Rob

+3
source share
1 answer

Thanks to everyone for their answers.

As it turned out, this was not due to the fact that the meetings were signed. There were only other assemblies that still referenced the old signed versions that I did not notice.

... as it usually happens, the error was between the chair and the keyboard.

+4
source

All Articles