我签署了一些很乐意用预签名构建的程序集后,我在项目中遇到了构建错误。 在错误列表中,我看到的错误如下:
类型“XXX”在未引用的程序集中定义。 您必须添加对程序集“XXX,Version = [ correct version ],Culture = [ correct culture ],PublicKeyToken = null [ 不正确的公钥标记 ]'的引用
当还原为非签名程序集时(只有代码差异是引用程序集中的签名信息及其存储共享密钥的解决方案),所有内容都会再次构建。
不幸的是,这些文件需要签名,所以我想知道是否有人之前遇到过这个问题?
谢谢,罗布
I'm encountering build errors in my project after signing some of the assemblies it has been happy to build with pre-signing. In the error list I'm seeing the errors like:
The type 'XXX' is defined in an assembly that is not referenced. You must add a reference to assembly 'XXX, Version=[correct version], Culture=[correct culture], PublicKeyToken=null [incorrect public key token]'
When reverting back to the non-signed assemblies (only code difference is the signing information in the referenced assemblies and their solution which stores the shared key), everything builds again.
Unfortunately, these files need to be signed, so I'm wondering if anyone has encountered this issue before?
Thanks, Rob
最满意答案
感谢大家的回答。
事实证明,这与集会签署的事实毫无关系。 还有其他程序集仍然引用了我没有发现的旧签名版本。
......通常情况下,错误发生在椅子和键盘之间。
Thanks to everyone for their answers.
As it turns out, it was nothing to do with the fact that the assemblies had become signed. There were simply other assemblies that were still referencing the old signed versions that I hadn't spotted.
...as is usually the case, the error was between the chair and the keyboard.
更多推荐
发布评论