views:

267

answers:

2

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?

+2  A: 

no you don't you can reuse a key file across different files/projects too

noesgard
+5  A: 

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.

Jayden