Could not load file or assembly 'AssemblyName PublicKeyToken=null' or one of its dependencies

后端 未结 4 640
一个人的身影
一个人的身影 2020-12-10 12:02

{\"Could not load file or assembly \'AssemblyName, PublicKeyToken=null\' or one of its dependencies. The located assembly\'s manifest definition does not matc

4条回答
  •  有刺的猬
    2020-12-10 13:00

    I noticed you did say you signed the 3rd party libraries, but don't forget to also sign your own assemblies that use the 3rd party libs as well. Most importantly would be the assembly using the signed libs. This was how I recently fixed this issue for myself.

    Visual studio is sometimes overly forgiving and allows us to get away with more than we should. Other times? Not so much.

    Be sure to clean your project after making the changes as well. Then rebuild the solution. Hopefully that will get you a step further.

提交回复
热议问题