.Net Interview Question: Steps to Generate a Strong Name and Sign a Assembly?

  • Go to “Visual Studio Command Prompt”.
  • Once you are in command, prompt type sn.exe -k “c:\test.snk”.
  • After the SNK file is generated its time to sign the project with this SNK file.
  • Click on project properties and the browse the SNK file from the respective folder and compile the project.