If I strong name a class library with a .snk file, do I need to replace this .snk file with a new if I create a new version of the same library?
No. The class library assembly is signed with the public key from the SNK file.
You can use the same SNK file for any and all assemblies you create. That way, target systems can be configured to allow a particular public key to be trusted (i.e. all of you assemblies). This can be done through Control Panel --> Administrative Tools --> .NET Configuration x.0.
We have a company wide SNK that all assemblies are signed with the same SNK.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With