Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

Thanks & Regards, P.SARAVANAN

like image 966
Saravanan Avatar asked Oct 11 '22 12:10

Saravanan


1 Answers

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.

like image 137
Frédéric Hamidi Avatar answered Oct 17 '22 01:10

Frédéric Hamidi