Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have created strong name using -

sn -k C:\strong.snk

nao how to assign this key to any assembly? and where I have to use gacutil?

share|improve this question

If you are compiling C# code you can use the /keyfile option to the compiler on the command line, like this:

csc.exe /keyfile:strong.snk /out:My.exe File.cs

Or if you are using Visual Studio you can set the strong name key in the project settings on the "Signing" tab check the "Sign the assembly" option and specify the key file.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.