开发者

how to skip the strong name verification for delay signed assembilies on Mono and Visual studio 2010(C#4.0)?

开发者 https://www.devze.com 2023-02-17 10:06 出处:网络
how to skip the strong name verification for del开发者_JS百科ay signed assembilies on Mono and Visual studio 2010(C#4.0)?

how to skip the strong name verification for del开发者_JS百科ay signed assembilies on Mono and Visual studio 2010(C#4.0)?

Thanks & Regards, P.SARAVANAN


You have to pass the -Vr command-line option to the strong name tool (sn.exe):

sn -Vr yourAssembly.dll

Be careful though: this should only be done on development machines because of security considerations. Quoth the documentation:

Use this option only during development. Adding an assembly to the skip verification list creates a security vulnerability. A malicious assembly could use the fully specified assembly name (assembly name, version, culture, and public key token) of the assembly added to the skip verification list to fake its identity. This would allow the malicious assembly to also skip verification.

0

精彩评论

暂无评论...
验证码 换一张
取 消