I am currently setting up my .net libraries to be signed with a strongly typed key. I am using .snk file to sign my dll's on a per solution basis. So for each solution, it has its own .snk file. Is this correct practice? For example I have a class library that outputs several different dll's from each of the projects within the solution, each are signed with the .snk key.
My question surrounds the storage of the Key in source control. As I branch my code for each release. Should the key:
A. Exist outside the branches and not be branched - ensuring its the same key for each branch B. Exist within the branch but be the same for each branch C. Exist within the branch and change for each branch D. Other (please specify)
Suggestions please?
Also is it best practices to sign the dll's by placing the following in the SolutionInfo file or is there any alternative?
[assembly: AssemblyKeyFile("<<absolute path>>\\MyKey.snk")]