Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我收到这些错误
构建(网络):无法加载文件或程序集“PetShop.DBUtility,版本=4.0.0.0,文化=中性,PublicKeyToken=a7987b61c51ca872”或其依赖项之一。无法验证强名称签名。该程序集可能已被篡改,或者它被延迟签名但未使用正确的私钥完全签名。(来自 HRESULT 的异常:0x80131045)
所以我发现我需要禁用我在项目中使用的那个 dll 的延迟信号
我正在使用 vsexpress10 c# 版本进行开发
等待您的解决方案
For enabling delay signing following lines are used:
[assembly:AssemblyKeyFileAttribute("myKey.snk")] [assembly:AssemblyDelaySignAttribute(true)]
setting the 2nd attribute as false will disable the delay signing.