Reputation: 531
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?
Upvotes: 1
Views: 581
Reputation: 239784
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.
Upvotes: 2