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 '
Thursday, February 5, 2009
dll does not represent a strongly named assembly
Problem: When we try to use the Strong Name Tool (sn.exe) to sign assemblies with strong names, we get the error "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 '...' 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.
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 '
Subscribe to:
Post Comments (Atom)
That Was awesome...
ReplyDeleteGreat Post
the drop down select the '..new..' option and create a new file.
ReplyDeleteYou need to change the greater than and less than to be ampersand gt semi-colon and ampersand lt semi-colon