5

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

Thanks & Regards, P.SARAVANAN

Saravanan
  • 11,372
  • 43
  • 143
  • 213

1 Answers1

4

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.

Frédéric Hamidi
  • 258,201
  • 41
  • 486
  • 479