Using a Single Strong Name Key across Multiple Projects

Today at I needed to sign several dll files with the same strong key. If you ever tried it before you already know that at each project property pages there is a signing tab which allows you to select which .snk file to use to sign that dll.

image

 

This solution seemed simple and easy . When I’ve tried committing my changes I discovered that visual studio copied my strong name (.snk) file to every project in my solution. After a short Internet search I found this blog post that explains how to trick visual studio to use only one file for all of the solution’s projects.

 

image