I followed this video , and the steps I did were:
sn -v a.dll
command, and the response is: " Failed to verify assembly -- Strong name validation failed. " My results are not the same as seen in the video. Is there a reason for this?
I'm guessing you're using .NET 3.5 SP 1 or later, and I'm guessing the video is based on an earlier version, or has applied the below fix to disable the "Strong Name Signing Bypass".
Please visit How to: Disable the Strong Name Signing Bypass Feature
Starting with the .NET Framework version 3.5 Service Pack 1 (SP1), strong-name signatures are not validated when an assembly is loaded into a full-trust AppDomain ... Bypassing the validation of strong-name signatures provides significant performance improvements
So, they changed the rules, provided you're running in full-trust.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.