强名称验证失败 [英] Strong Name Validation Failed
本文介绍了强名称验证失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
两台机器。都与.NET 3.5和VS 2008的VC ++ SP1可再发行
Two machines. Both with .NET 3.5 and the VS 2008 VC++ SP1 redistributables
使用两个签署的DLL,一个在C ++ / CLI,一个在C#中的单个exe文件
A single exe which uses two signed DLLs, one in C++/CLI and one in C#
EXE文件加载并运行正常一台机器上。
The exe loads and runs fine on one machine.
在另一方面,我得到强名称验证失败的C ++可执行文件(HRESULT 0x8013141A)
On the other, I get "Strong Name Validation Failed" on the C++ executable (HRESULT 0x8013141A)
任何想法?
推荐答案
您必须使用SN.EXE的64位版本的64位计算机上。 (C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\x64\sn.exe)
You must use the 64-bit version of sn.exe on a 64-bit machine. (C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\x64\sn.exe)
这篇关于强名称验证失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文