How to Sign an Assembly With Strong Name

It is, indeed, a trivial task but you may come across errors from other DLLs that require you to sign your library.
The task to do that is rather simple: Open a command prompt and run:

"C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\x64\sn.exe" -k YourFileName.snk

Make sure your version matches in the path first.
Then, go to project properties, Signing and browse to the newly created snk file. All set!

This entry was posted in Quick Tips and tagged , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *