严重签名的程序集出现问题“SecurityException:强名称验证失败。 (来自HRESULT的异常:0x8013141A)“ [英] having trouble with stongly signed assembly "SecurityException: Strong name validation failed. (Exception from HRESULT: 0x8013141A)"
问题描述
我在w8.1 pro上使用vs2012 pro运行和调试windows窗体应用程序 在没有问题的核心2四核上
I was running and debugging the windows forms application with vs2012 pro on w8.1 pro on core 2 quad without problem
当我使用visual studio 2017移动到我的新平台i8700 windows 10 pro时,我无法加载强烈签名的引用程序集。
The moment I moved over to my new platform i8700 windows 10 pro using visual studio 2017 I can't load strongly signed referenced assembly.
我该怎么办?我看到一些建议使用sn.exe的搜索结果。但是我应该为vs2017使用什么版本?
what can I do? I saw some search result suggesting using sn.exe. but what version should I use for vs2017?
Directory of C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin
2011-12-12 02:55 PM 95,552 sn.exe
1 File(s) 95,552 bytes
Directory of C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\x64
2011-12-12 02:54 PM 102,208 sn.exe
1 File(s) 102,208 bytes
以及双击 文件资源管理器中的pfx文件导入证书时使用的内容?使用时我没有检查提示密码;导入默认商店
and what is being used when double click a pfx file in file explorer to import the certificate? I did not check prompting for password when used; imported into default store
原谅我的无知;在开发过程中签署任何程序集有什么好处?
pardon my ignorance; is there any real benefit of signing any assembly during development?
推荐答案
Hi fs - ab,
Hi fs - ab,
根据以下博客,它似乎是基于您的系统而不是Visual Studio。
Based on the following blog, it seems that it is based on your system instead of visual studio.
< a href ="https://blogs.msdn.microsoft.com/keithmg/2012/03/20/strong-name-validation-failed-exception-from-hresult-0x8013141a/"> https://blogs.msdn。 microsoft.com/keithmg/2012/03/20/strong-name-validation-failed-exception-from-hresult-0x8013141a/
祝你好运,
张龙
这篇关于严重签名的程序集出现问题“SecurityException:强名称验证失败。 (来自HRESULT的异常:0x8013141A)“的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!