Friday, March 9, 2012

Simplest way to get the strong name of an assembly

I found very interesting post which describes how to get strong name of the assembly without even opening the properties window of that assembly. I saw many fellow-developers are still not aware of this simple option that may make their life at least a bit easier, hence sharing this post.

Old Method:

Open the assembly in the GAC (c:\Windows\Assembly) and view its properties. Then form the strong name with assembly name, version and public key token.


Simplest method:

Open the assembly, select the assembly you need the strong name for, then from the Edit menu choose Copy Display Name menu item


1 comment: