"sn -Vr *, [public key token]
or adding the registry key manually to
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\StrongName\Verification\"
Example:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\StrongName\Verification\*,89845dcd8080cc91]
would not work.
The reason being that the 64bit windows registry has a separate area for 32bit applications. And, the sn.exe is not updating that.
To work around it, you have to add your strong name exceptions to the following location of the windows registry.
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\StrongName\Verification\
Example:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\StrongName\Verification\*,89845dcd8080cc91]
No comments:
Post a Comment