Problem: When we try to use the Strong Name Tool (sn.exe) to sign assemblies with strong names, we get the error "<dllname>dll does not represent a strongly named assembly"
Solution: You need to specify a strong name key file before you can use the command prompt "sn.exe". For this, go to Project Properties -> Signing and tick the 'Sign the assembly'. From the drop down select the '<New>...' option and create a new file. Once you this, build your project again and now you will be able to use the 'sn.exe' without any problem.
转载于:https://www.cnblogs.com/easyjacky/archive/2008/03/03/1088853.html