To find the strong name of an assembly you have several options. If the assembly has been deployed to the global assembly cache, or GAC, you can open the assembly in the GAC (c:\Windows\Assembly) and view its properties.

The strong name is made up of the assembly name (part of dll filename before .dll), the version, the culture, and the public key token, or PKT. Each part is separated by a comma. Using the above sample, the strong name would be
CustomComponent, Version=1.0.0.0, Culture=neutral, PublicKeyToken=17135d9fcba0119f
You can also use tools to help you find the strong name. On such tool is Red Gate’s .Net reflector, which is a free tool available at http://www.red-gate.com/products/reflector/. Start .Net reflector and drag your dll into the window. The bottom part of the window will show assembly information, including the strong name.

No related posts.
Posted under Developer
This post was written by furuknap on December 8, 2008
